Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001776/0.001776, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002396/0.002396, allocations: 213.7 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.92 MB / 360.8 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002545/0.002545, allocations: 79.88 kB / 0.4962 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3601, allocations: 66.09 MB / 0.5608 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01384/0.374, allocations: 11.37 MB / 0.5719 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.3875, allocations: 11.86 MB / 0.5835 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.3877, allocations: 3.938 kB / 0.5835 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.388, allocations: 75.47 kB / 0.5835 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009783/0.3978, allocations: 3.134 MB / 0.5866 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.3982, allocations: 154.7 kB / 0.5868 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006217/0.4044, allocations: 3.967 MB / 0.5906 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.11e-05/0.4045, allocations: 12.58 kB / 0.5906 GB, free: 5.613 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.4047, allocations: 147.5 kB / 0.5908 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01056/0.4152, allocations: 7.25 MB / 0.5979 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.241e-05/0.4153, allocations: 8 kB / 0.5979 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005621/0.4209, allocations: 2.174 MB / 0.6 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.4211, allocations: 47.83 kB / 0.6 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.4213, allocations: 131.4 kB / 0.6002 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005587/0.4269, allocations: 1.543 MB / 0.6017 GB, free: 10.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4269, allocations: 0 / 0.6017 GB, free: 10.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4269, allocations: 0 / 0.6017 GB, free: 10.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.4269, allocations: 4 kB / 0.6017 GB, free: 10.3 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.003231/0.4301, allocations: 0.8739 MB / 0.6025 GB, free: 9.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.4302, allocations: 8.031 kB / 0.6025 GB, free: 9.387 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.489e-05/0.4303, allocations: 62.73 kB / 0.6026 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006465/0.4309, allocations: 80.72 kB / 0.6027 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.4314, allocations: 190.2 kB / 0.6029 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.4314, allocations: 21.03 kB / 0.6029 GB, free: 9.004 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.4315, allocations: 24.38 kB / 0.6029 GB, free: 8.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.4325, allocations: 494.5 kB / 0.6034 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.4325, allocations: 7.938 kB / 0.6034 GB, free: 8.457 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.4326, allocations: 8 kB / 0.6034 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.4326, allocations: 11.98 kB / 0.6034 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.4338, allocations: 0.7005 MB / 0.6041 GB, free: 7.734 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.007191/0.441, allocations: 3.049 MB / 0.6071 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005481/0.4415, allocations: 167 kB / 0.6072 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.01e-05/0.4416, allocations: 45.55 kB / 0.6073 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02515/0.4668, allocations: 7.687 MB / 0.6148 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008533/0.4676, allocations: 314 kB / 0.6151 GB, free: 12.26 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.677e-06/0.4676, allocations: 3.938 kB / 0.6151 GB, free: 12.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001686/0.4693, allocations: 450.4 kB / 0.6155 GB, free: 11.81 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002989/0.4696, allocations: 482.8 kB / 0.616 GB, free: 11.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.4699, allocations: 190 kB / 0.6161 GB, free: 11.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.4699, allocations: 37.69 kB / 0.6162 GB, free: 10.99 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.4701, allocations: 188.2 kB / 0.6164 GB, free: 10.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.4702, allocations: 103.1 kB / 0.6165 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.4703, allocations: 98.06 kB / 0.6165 GB, free: 10.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4705, allocations: 330.8 kB / 0.6169 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4706, allocations: 64.84 kB / 0.6169 GB, free: 10.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.471, allocations: 314.7 kB / 0.6172 GB, free: 9.777 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005438/0.4715, allocations: 428.8 kB / 0.6176 GB, free: 9.238 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.4715, allocations: 4 kB / 0.6176 GB, free: 9.234 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007283/0.4722, allocations: 393.2 kB / 0.618 GB, free: 8.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.4723, allocations: 8 kB / 0.618 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.4723, allocations: 11.98 kB / 0.618 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.4723, allocations: 12 kB / 0.618 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.4726, allocations: 107.8 kB / 0.6181 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/0.4727, allocations: 15.94 kB / 0.6182 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.4729, allocations: 48.17 kB / 0.6182 GB, free: 8.645 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.473, allocations: 35.98 kB / 0.6182 GB, free: 8.609 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.0001747/0.4732, allocations: 154.9 kB / 0.6184 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4733, allocations: 35.84 kB / 0.6184 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.4744, allocations: 0.8111 MB / 0.6192 GB, free: 7.566 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.4744, allocations: 8.203 kB / 0.6192 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.4744, allocations: 8 kB / 0.6192 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.4744, allocations: 3.938 kB / 0.6192 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.4757, allocations: 0.9042 MB / 0.6201 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.4757, allocations: 4 kB / 0.6201 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.4758, allocations: 35.92 kB / 0.6202 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.4758, allocations: 12.03 kB / 0.6202 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.4758, allocations: 8 kB / 0.6202 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.4758, allocations: 4 kB / 0.6202 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.4758, allocations: 4 kB / 0.6202 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.4763, allocations: 375.7 kB / 0.6205 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.4764, allocations: 31.72 kB / 0.6206 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.575e-05/0.4765, allocations: 43.66 kB / 0.6206 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.4767, allocations: 23.92 kB / 0.6206 GB, free: 6.008 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.4767, allocations: 15.92 kB / 0.6206 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.4767, allocations: 8 kB / 0.6207 GB, free: 5.984 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003415/0.4771, allocations: 294.9 kB / 0.6209 GB, free: 5.695 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4771, allocations: 0 / 0.6209 GB, free: 5.695 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001337/0.4784, allocations: 434.6 kB / 0.6214 GB, free: 5.27 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.002274/0.4807, allocations: 1.442 MB / 0.6228 GB, free: 3.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000457/0.4812, allocations: 225.5 kB / 0.623 GB, free: 3.551 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4812, allocations: 0 / 0.623 GB, free: 3.551 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.4813, allocations: 76.72 kB / 0.623 GB, free: 3.477 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/0.482, allocations: 118.5 kB / 0.6232 GB, free: 3.363 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.317/1.799, allocations: 0.5821 GB / 1.205 GB, free: 22.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/1.799, allocations: 0.8068 MB / 1.206 GB, free: 22 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003399/1.799, allocations: 161 kB / 1.206 GB, free: 21.87 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/1.8, allocations: 151.4 kB / 1.206 GB, free: 21.72 MB / 0.6387 GB Notification: Performance of SimCode: time 9.22e-07/1.8, allocations: 0 / 1.206 GB, free: 21.72 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04776/1.847, allocations: 18.76 MB / 1.225 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/14.05, allocations: 7.5 kB / 1.225 GB, free: 3.152 MB / 0.6387 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 19.435596721014008]