Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 216.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 46.93 MB / 361.6 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.89 kB / 0.497 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3544, allocations: 66.04 MB / 0.5615 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01404/0.3685, allocations: 11.37 MB / 0.5726 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.382, allocations: 11.86 MB / 0.5842 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.3821, allocations: 4 kB / 0.5842 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.3824, allocations: 71.55 kB / 0.5842 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008689/0.3911, allocations: 3.134 MB / 0.5873 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.3916, allocations: 159.1 kB / 0.5874 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00637/0.3979, allocations: 3.967 MB / 0.5913 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.085e-05/0.398, allocations: 16.58 kB / 0.5913 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.3982, allocations: 135.6 kB / 0.5915 GB, free: 5.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01078/0.409, allocations: 7.258 MB / 0.5986 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.802e-05/0.4091, allocations: 8 kB / 0.5986 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005825/0.4149, allocations: 2.177 MB / 0.6007 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.415, allocations: 43.77 kB / 0.6007 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.4152, allocations: 127.4 kB / 0.6009 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004332/0.4195, allocations: 1.551 MB / 0.6024 GB, free: 10.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.4195, allocations: 0 / 0.6024 GB, free: 10.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4195, allocations: 0 / 0.6024 GB, free: 10.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.4195, allocations: 0 / 0.6024 GB, free: 10.18 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002219/0.4217, allocations: 0.87 MB / 0.6032 GB, free: 9.273 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.4218, allocations: 12.03 kB / 0.6032 GB, free: 9.262 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.579e-05/0.4218, allocations: 8.844 kB / 0.6032 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.127e-05/0.4219, allocations: 62.73 kB / 0.6033 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005834/0.4225, allocations: 80.72 kB / 0.6034 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.4229, allocations: 190.2 kB / 0.6036 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.4229, allocations: 21.03 kB / 0.6036 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.4229, allocations: 28.12 kB / 0.6036 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.424, allocations: 494.5 kB / 0.6041 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.424, allocations: 0 / 0.6041 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.424, allocations: 16 kB / 0.6041 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.424, allocations: 4 kB / 0.6041 GB, free: 8.309 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.4252, allocations: 0.6966 MB / 0.6048 GB, free: 7.609 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007077/0.4323, allocations: 3.053 MB / 0.6078 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/0.4329, allocations: 163.1 kB / 0.6079 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.4e-05/0.433, allocations: 53.48 kB / 0.608 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02471/0.4577, allocations: 7.687 MB / 0.6155 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008384/0.4585, allocations: 314 kB / 0.6158 GB, free: 12.13 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.874e-06/0.4585, allocations: 4 kB / 0.6158 GB, free: 12.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001448/0.46, allocations: 446.9 kB / 0.6162 GB, free: 11.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002672/0.4602, allocations: 478.5 kB / 0.6167 GB, free: 11.11 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.4604, allocations: 190 kB / 0.6168 GB, free: 10.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.4605, allocations: 33.69 kB / 0.6169 GB, free: 10.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.4606, allocations: 188.2 kB / 0.617 GB, free: 10.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.775e-05/0.4607, allocations: 115.2 kB / 0.6172 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.4608, allocations: 90.06 kB / 0.6172 GB, free: 10.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.461, allocations: 330.8 kB / 0.6176 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.4611, allocations: 60.84 kB / 0.6176 GB, free: 10.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.4614, allocations: 314.7 kB / 0.6179 GB, free: 9.656 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/0.462, allocations: 428.9 kB / 0.6183 GB, free: 9.117 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.462, allocations: 4 kB / 0.6183 GB, free: 9.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000714/0.4627, allocations: 392.8 kB / 0.6187 GB, free: 8.723 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.4627, allocations: 8.969 kB / 0.6187 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.4627, allocations: 12 kB / 0.6187 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.4628, allocations: 19.98 kB / 0.6187 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.4631, allocations: 107.8 kB / 0.6188 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.4631, allocations: 15.94 kB / 0.6189 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.4634, allocations: 43.67 kB / 0.6189 GB, free: 8.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-05/0.4634, allocations: 35.98 kB / 0.6189 GB, free: 8.484 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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 0.0001707/0.4636, allocations: 153.6 kB / 0.6191 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.4637, allocations: 31.84 kB / 0.6191 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.4648, allocations: 0.8175 MB / 0.6199 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.4648, allocations: 4 kB / 0.6199 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.4648, allocations: 7.938 kB / 0.6199 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4648, allocations: 0 / 0.6199 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.466, allocations: 0.9018 MB / 0.6208 GB, free: 6.465 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.466, allocations: 8 kB / 0.6208 GB, free: 6.457 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.4661, allocations: 35.86 kB / 0.6208 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4661, allocations: 4 kB / 0.6208 GB, free: 6.418 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.4661, allocations: 8 kB / 0.6209 GB, free: 6.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.4661, allocations: 11.92 kB / 0.6209 GB, free: 6.398 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4661, allocations: 4.094 kB / 0.6209 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.4666, allocations: 384.7 kB / 0.6212 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.4666, allocations: 31.72 kB / 0.6213 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.769e-05/0.4667, allocations: 47.56 kB / 0.6213 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.467, allocations: 15.98 kB / 0.6213 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.467, allocations: 7.984 kB / 0.6213 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.467, allocations: 12 kB / 0.6213 GB, free: 5.859 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003421/0.4673, allocations: 306.7 kB / 0.6216 GB, free: 5.559 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4673, allocations: 4 kB / 0.6216 GB, free: 5.555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00133/0.4687, allocations: 422.6 kB / 0.622 GB, free: 5.141 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002043/0.4707, allocations: 1.442 MB / 0.6235 GB, free: 3.641 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004269/0.4711, allocations: 223.9 kB / 0.6237 GB, free: 3.426 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.4712, allocations: 8.062 kB / 0.6237 GB, free: 3.418 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.4713, allocations: 75.78 kB / 0.6237 GB, free: 3.344 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007969/0.4721, allocations: 106.9 kB / 0.6239 GB, free: 3.242 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.469/1.941, allocations: 0.5821 GB / 1.206 GB, free: 234.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/1.941, allocations: 0.8058 MB / 1.207 GB, free: 233.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004381/1.942, allocations: 164.9 kB / 1.207 GB, free: 233.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/1.942, allocations: 154.1 kB / 1.207 GB, free: 233.5 MB / 0.6231 GB Notification: Performance of SimCode: time 1.583e-06/1.942, allocations: 0.625 kB / 1.207 GB, free: 233.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/1.98, allocations: 18.81 MB / 1.225 GB, free: 219.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/14.37, allocations: 7.922 kB / 1.225 GB, free: 219.7 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.476778144016862]