Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006214/0.006214, allocations: 101.1 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 195.3 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 222.6 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3218/0.3218, allocations: 43.5 MB / 313.5 MB, free: 8.465 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 382.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1018, allocations: 57.77 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3143/0.4162, allocations: 150.1 MB / 0.5761 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.4179, allocations: 1.309 MB / 0.5774 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.418, allocations: 0 / 0.5774 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.4182, allocations: 41.73 kB / 0.5775 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.42, allocations: 0.743 MB / 0.5782 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.346e-06/0.42, allocations: 0 / 0.5782 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.4202, allocations: 91.66 kB / 0.5783 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.195e-05/0.4202, allocations: 4 kB / 0.5783 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.878e-05/0.4202, allocations: 23.92 kB / 0.5783 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.852e-05/0.4203, allocations: 23.91 kB / 0.5783 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-06/0.4203, allocations: 0 / 0.5783 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.4227, allocations: 1.73 MB / 0.58 GB, free: 2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.4228, allocations: 11.97 kB / 0.58 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.4228, allocations: 11.94 kB / 0.58 GB, free: 1.977 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.4239, allocations: 0.8302 MB / 0.5809 GB, free: 1.145 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4239, allocations: 0 / 0.5809 GB, free: 1.145 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4239, allocations: 0 / 0.5809 GB, free: 1.145 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.4239, allocations: 0 / 0.5809 GB, free: 1.145 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005363/0.4245, allocations: 461.4 kB / 0.5813 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4245, allocations: 12.03 kB / 0.5813 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.4246, allocations: 34.75 kB / 0.5813 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.4246, allocations: 2.5 kB / 0.5813 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.869e-05/0.4247, allocations: 176.1 kB / 0.5815 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.4247, allocations: 7.938 kB / 0.5815 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.4247, allocations: 8 kB / 0.5815 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.4248, allocations: 69.66 kB / 0.5816 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.4248, allocations: 0 / 0.5816 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.4248, allocations: 0 / 0.5816 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.4249, allocations: 4 kB / 0.5816 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.325e-05/0.425, allocations: 51.97 kB / 0.5816 GB, free: 244 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.4253, allocations: 300.6 kB / 0.5819 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.879e-05/0.4254, allocations: 30.56 kB / 0.582 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.4254, allocations: 8.922 kB / 0.582 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.4255, allocations: 93.09 kB / 0.5821 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.4256, allocations: 34.66 kB / 0.5821 GB, free: 15.69 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4256, allocations: 3.938 kB / 0.5821 GB, free: 15.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001449/0.4257, allocations: 50.28 kB / 0.5821 GB, free: 15.63 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.4258, allocations: 55.41 kB / 0.5822 GB, free: 15.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.972e-05/0.4258, allocations: 101.8 kB / 0.5823 GB, free: 15.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.4259, allocations: 29.7 kB / 0.5823 GB, free: 15.42 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.4259, allocations: 95.89 kB / 0.5824 GB, free: 15.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.565e-06/0.4259, allocations: 3.906 kB / 0.5824 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.4259, allocations: 25.7 kB / 0.5824 GB, free: 15.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.426, allocations: 313.6 kB / 0.5827 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.4261, allocations: 11.94 kB / 0.5827 GB, free: 14.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.4261, allocations: 35.42 kB / 0.5828 GB, free: 14.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.037e-05/0.4262, allocations: 44.06 kB / 0.5828 GB, free: 14.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4262, allocations: 0 / 0.5828 GB, free: 14.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.506e-05/0.4263, allocations: 77.92 kB / 0.5829 GB, free: 14.78 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.4263, allocations: 4 kB / 0.5829 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4263, allocations: 3.938 kB / 0.5829 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.4263, allocations: 4 kB / 0.5829 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.4264, allocations: 8 kB / 0.5829 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4264, allocations: 5.109 kB / 0.5829 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.4264, allocations: 11.88 kB / 0.5829 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4265, allocations: 7.984 kB / 0.5829 GB, free: 14.74 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.812e-05/0.4265, allocations: 121.9 kB / 0.5831 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.4266, allocations: 0 / 0.5831 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.4267, allocations: 62.52 kB / 0.5831 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4267, allocations: 4 kB / 0.5831 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4267, allocations: 0.6875 kB / 0.5831 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.4267, allocations: 0 / 0.5831 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.4268, allocations: 161.7 kB / 0.5833 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4268, allocations: 0 / 0.5833 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.4269, allocations: 8.5 kB / 0.5833 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.4269, allocations: 0 / 0.5833 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.4269, allocations: 3.938 kB / 0.5833 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4269, allocations: 4.25 kB / 0.5833 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4269, allocations: 0 / 0.5833 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.722e-05/0.427, allocations: 147.5 kB / 0.5834 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.4271, allocations: 85 kB / 0.5835 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.4271, allocations: 3.938 kB / 0.5835 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.69e-05/0.4271, allocations: 5.562 kB / 0.5835 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.4271, allocations: 4 kB / 0.5835 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.4272, allocations: 0 / 0.5835 GB, free: 14.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.642e-05/0.4272, allocations: 79.28 kB / 0.5836 GB, free: 13.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4272, allocations: 0 / 0.5836 GB, free: 13.97 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.4276, allocations: 99.91 kB / 0.5837 GB, free: 13.88 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007632/0.4283, allocations: 0.8331 MB / 0.5845 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.32e-05/0.4284, allocations: 24.27 kB / 0.5845 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4284, allocations: 0 / 0.5845 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.832e-05/0.4284, allocations: 16.03 kB / 0.5845 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.4287, allocations: 96 / 0.5845 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.4291, allocations: 238.5 kB / 0.5848 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.4294, allocations: 0.6781 MB / 0.5854 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.716e-05/0.4294, allocations: 14.56 kB / 0.5855 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.4295, allocations: 15.44 kB / 0.5855 GB, free: 11.99 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4295, allocations: 0 / 0.5855 GB, free: 11.99 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.4414, allocations: 3.648 MB / 0.589 GB, free: 8.402 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.4416, allocations: 182 kB / 0.5892 GB, free: 8.152 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.205, allocations: 0 / 0.5892 GB, free: 8.152 MB / 462.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches