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.001267/0.001267, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001453/0.001453, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.228/0.228, allocations: 46.93 MB / 360.9 MB, free: 4.301 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 67.89 kB / 0.4962 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3385, allocations: 66.03 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01519/0.3537, allocations: 11.37 MB / 0.5718 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01533/0.369, allocations: 11.86 MB / 0.5834 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.3693, allocations: 0 / 0.5834 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.3698, allocations: 75.48 kB / 0.5835 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.38, allocations: 3.13 MB / 0.5865 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.3805, allocations: 158.6 kB / 0.5867 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007045/0.3875, allocations: 3.963 MB / 0.5905 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.291e-05/0.3876, allocations: 20.56 kB / 0.5906 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.3879, allocations: 143.5 kB / 0.5907 GB, free: 5.652 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01191/0.3998, allocations: 7.25 MB / 0.5978 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.683e-05/0.3999, allocations: 8 kB / 0.5978 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005915/0.4058, allocations: 2.181 MB / 0.5999 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.4059, allocations: 39.83 kB / 0.6 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.4062, allocations: 131.4 kB / 0.6001 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004205/0.4104, allocations: 1.543 MB / 0.6016 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4104, allocations: 0 / 0.6016 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4104, allocations: 0 / 0.6016 GB, free: 10.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.4104, allocations: 0 / 0.6016 GB, free: 10.48 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.002202/0.4126, allocations: 0.87 MB / 0.6024 GB, free: 9.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4126, allocations: 12.03 kB / 0.6024 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.824e-05/0.4127, allocations: 78.59 kB / 0.6025 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005679/0.4133, allocations: 76.73 kB / 0.6026 GB, free: 9.414 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.4137, allocations: 182.2 kB / 0.6028 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.4137, allocations: 25.03 kB / 0.6028 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.4138, allocations: 24.38 kB / 0.6028 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.4148, allocations: 494.5 kB / 0.6033 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4148, allocations: 7.938 kB / 0.6033 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.4148, allocations: 12 kB / 0.6033 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.4148, allocations: 8 kB / 0.6033 GB, free: 8.617 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.416, allocations: 0.6966 MB / 0.604 GB, free: 7.918 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.006981/0.423, allocations: 3.064 MB / 0.607 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005501/0.4235, allocations: 155.1 kB / 0.6071 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.137e-05/0.4236, allocations: 57.53 kB / 0.6072 GB, free: 4.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02509/0.4487, allocations: 7.675 MB / 0.6147 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007431/0.4494, allocations: 325.9 kB / 0.615 GB, free: 12.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.814e-06/0.4494, allocations: 3.938 kB / 0.615 GB, free: 12.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00138/0.4508, allocations: 438.7 kB / 0.6154 GB, free: 11.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002702/0.4511, allocations: 482.6 kB / 0.6159 GB, free: 11.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.4513, allocations: 190 kB / 0.6161 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.4513, allocations: 33.7 kB / 0.6161 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.4515, allocations: 192.2 kB / 0.6163 GB, free: 10.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.158e-05/0.4516, allocations: 107.1 kB / 0.6164 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.4517, allocations: 94.06 kB / 0.6165 GB, free: 10.78 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4519, allocations: 326.8 kB / 0.6168 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.452, allocations: 64.83 kB / 0.6168 GB, free: 10.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/0.4523, allocations: 306.8 kB / 0.6171 GB, free: 9.969 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.4528, allocations: 432.9 kB / 0.6175 GB, free: 9.426 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4528, allocations: 0 / 0.6175 GB, free: 9.426 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006797/0.4535, allocations: 408.8 kB / 0.6179 GB, free: 9.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.4535, allocations: 8 kB / 0.6179 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.4536, allocations: 8 kB / 0.618 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.4536, allocations: 12.81 kB / 0.618 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.4539, allocations: 103.8 kB / 0.6181 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.4539, allocations: 23.92 kB / 0.6181 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.4542, allocations: 47.67 kB / 0.6181 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.4542, allocations: 28 kB / 0.6182 GB, free: 8.793 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.0001529/0.4544, allocations: 161.6 kB / 0.6183 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.4545, allocations: 23.86 kB / 0.6183 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.4556, allocations: 0.8144 MB / 0.6191 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.4556, allocations: 4 kB / 0.6191 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4556, allocations: 4 kB / 0.6191 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.4557, allocations: 11.92 kB / 0.6191 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.4568, allocations: 0.8978 MB / 0.62 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4568, allocations: 4.031 kB / 0.62 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.4569, allocations: 31.92 kB / 0.6201 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.4569, allocations: 7.938 kB / 0.6201 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.4569, allocations: 15.98 kB / 0.6201 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.4569, allocations: 4 kB / 0.6201 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4569, allocations: 4 kB / 0.6201 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.4574, allocations: 378.6 kB / 0.6205 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.4574, allocations: 31.73 kB / 0.6205 GB, free: 6.262 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.4575, allocations: 51.66 kB / 0.6205 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.4577, allocations: 15.92 kB / 0.6205 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.4577, allocations: 19.91 kB / 0.6206 GB, free: 6.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.4578, allocations: 15.94 kB / 0.6206 GB, free: 6.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003316/0.4581, allocations: 290.9 kB / 0.6209 GB, free: 5.875 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4581, allocations: 0 / 0.6209 GB, free: 5.875 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001379/0.4595, allocations: 434.6 kB / 0.6213 GB, free: 5.449 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.002247/0.4617, allocations: 1.438 MB / 0.6227 GB, free: 3.953 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.4622, allocations: 233 kB / 0.6229 GB, free: 3.727 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.4622, allocations: 0.75 kB / 0.6229 GB, free: 3.727 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.4623, allocations: 75.84 kB / 0.623 GB, free: 3.652 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.463, allocations: 116.5 kB / 0.6231 GB, free: 3.543 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.301/1.764, allocations: 0.5821 GB / 1.205 GB, free: 23.15 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/1.764, allocations: 0.8029 MB / 1.206 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003393/1.764, allocations: 157 kB / 1.206 GB, free: 22.19 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/1.764, allocations: 151.4 kB / 1.206 GB, free: 22.04 MB / 0.6387 GB Notification: Performance of SimCode: time 9.31e-07/1.764, allocations: 3.656 kB / 1.206 GB, free: 22.04 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04461/1.809, allocations: 18.78 MB / 1.225 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/13.68, allocations: 3.047 kB / 1.225 GB, free: 3.496 MB / 0.6387 GB " [Timeout remaining time 646] (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: 18.85661917505786]