Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00167/0.00167, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002006/0.002006, allocations: 202.2 kB / 24.52 MB, free: 4.156 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.451/1.451, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 44.91 MB / 359.6 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.88 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3596, allocations: 65.48 MB / 0.5579 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01573/0.3754, allocations: 11.36 MB / 0.569 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.3901, allocations: 11.86 MB / 0.5805 GB, free: 432 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.3904, allocations: 7.938 kB / 0.5805 GB, free: 424 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.3908, allocations: 75.48 kB / 0.5806 GB, free: 348 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.4011, allocations: 3.134 MB / 0.5837 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.4015, allocations: 155.2 kB / 0.5838 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00628/0.4078, allocations: 3.967 MB / 0.5877 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.4079, allocations: 16.58 kB / 0.5877 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.4081, allocations: 147.5 kB / 0.5878 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01072/0.4188, allocations: 7.246 MB / 0.5949 GB, free: 1.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.4189, allocations: 12 kB / 0.5949 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005016/0.4239, allocations: 2.174 MB / 0.5971 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.717e-05/0.424, allocations: 47.77 kB / 0.5971 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.4242, allocations: 127.4 kB / 0.5972 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003426/0.4276, allocations: 1.555 MB / 0.5987 GB, free: 13.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4276, allocations: 0 / 0.5987 GB, free: 13.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4276, allocations: 0 / 0.5987 GB, free: 13.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.4276, allocations: 0 / 0.5987 GB, free: 13.74 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.002258/0.4299, allocations: 0.87 MB / 0.5996 GB, free: 12.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4299, allocations: 12.03 kB / 0.5996 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.906e-05/0.4299, allocations: 8.844 kB / 0.5996 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.145e-05/0.43, allocations: 62.73 kB / 0.5997 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005839/0.4306, allocations: 80.72 kB / 0.5998 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.4309, allocations: 190.2 kB / 0.5999 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.431, allocations: 25.03 kB / 0.6 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.431, allocations: 28.12 kB / 0.6 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009818/0.432, allocations: 486.5 kB / 0.6004 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.432, allocations: 4 kB / 0.6004 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.432, allocations: 16 kB / 0.6005 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.432, allocations: 8 kB / 0.6005 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.4332, allocations: 0.6966 MB / 0.6012 GB, free: 11.17 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.00705/0.4403, allocations: 3.053 MB / 0.6041 GB, free: 8.004 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/0.4409, allocations: 167 kB / 0.6043 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.185e-05/0.441, allocations: 49.55 kB / 0.6043 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02511/0.4661, allocations: 7.683 MB / 0.6118 GB, free: 72 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009203/0.467, allocations: 322 kB / 0.6122 GB, free: 15.69 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.144e-06/0.467, allocations: 0 / 0.6122 GB, free: 15.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001444/0.4684, allocations: 442.7 kB / 0.6126 GB, free: 15.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002946/0.4687, allocations: 478.6 kB / 0.613 GB, free: 14.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.4689, allocations: 186 kB / 0.6132 GB, free: 14.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.469, allocations: 37.69 kB / 0.6132 GB, free: 14.44 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.4691, allocations: 188.2 kB / 0.6134 GB, free: 14.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.809e-05/0.4692, allocations: 103.1 kB / 0.6135 GB, free: 14.15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.4693, allocations: 98.06 kB / 0.6136 GB, free: 14.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4695, allocations: 330.8 kB / 0.6139 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.4696, allocations: 60.84 kB / 0.614 GB, free: 13.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.47, allocations: 314.7 kB / 0.6143 GB, free: 13.22 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.4705, allocations: 420.9 kB / 0.6147 GB, free: 12.69 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.4705, allocations: 8 kB / 0.6147 GB, free: 12.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006788/0.4712, allocations: 393 kB / 0.6151 GB, free: 12.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4712, allocations: 8 kB / 0.6151 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.4713, allocations: 15.92 kB / 0.6151 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.4713, allocations: 16.72 kB / 0.6151 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.4716, allocations: 107.8 kB / 0.6152 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.4716, allocations: 23.88 kB / 0.6152 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.4719, allocations: 39.73 kB / 0.6153 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.4719, allocations: 31.98 kB / 0.6153 GB, free: 12.05 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.0001587/0.4721, allocations: 157.6 kB / 0.6155 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/0.4722, allocations: 35.78 kB / 0.6155 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.4733, allocations: 0.816 MB / 0.6163 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.4733, allocations: 4 kB / 0.6163 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.4733, allocations: 7.938 kB / 0.6163 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.4733, allocations: 3.984 kB / 0.6163 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.4744, allocations: 0.9076 MB / 0.6172 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.4745, allocations: 8.219 kB / 0.6172 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.4746, allocations: 31.92 kB / 0.6172 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.4746, allocations: 4 kB / 0.6172 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.4746, allocations: 8 kB / 0.6172 GB, free: 9.973 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.4746, allocations: 7.938 kB / 0.6172 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4746, allocations: 0 / 0.6172 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.475, allocations: 380.7 kB / 0.6176 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.4751, allocations: 39.72 kB / 0.6176 GB, free: 9.508 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.983e-05/0.4752, allocations: 47.56 kB / 0.6177 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.4754, allocations: 11.98 kB / 0.6177 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.4754, allocations: 15.92 kB / 0.6177 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.4754, allocations: 12 kB / 0.6177 GB, free: 9.422 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003195/0.4758, allocations: 298.8 kB / 0.618 GB, free: 9.129 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4758, allocations: 0 / 0.618 GB, free: 9.129 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001388/0.4772, allocations: 430.6 kB / 0.6184 GB, free: 8.707 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.001974/0.4791, allocations: 1.442 MB / 0.6198 GB, free: 7.207 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.4795, allocations: 225 kB / 0.62 GB, free: 6.988 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.4796, allocations: 0.6875 kB / 0.62 GB, free: 6.988 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.4797, allocations: 83.88 kB / 0.6201 GB, free: 6.906 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/0.4804, allocations: 106.5 kB / 0.6202 GB, free: 6.805 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.274/1.755, allocations: 0.5821 GB / 1.202 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/1.755, allocations: 0.8146 MB / 1.203 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003515/1.755, allocations: 157.5 kB / 1.203 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/1.755, allocations: 144.9 kB / 1.203 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of SimCode: time 1.222e-06/1.755, allocations: 3.391 kB / 1.203 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3029/2.058, allocations: 18.8 MB / 1.222 GB, free: 230.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/14.4, allocations: 7 kB / 1.222 GB, free: 230.1 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.520190068986267]