Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001677/0.001677, allocations: 93.92 kB / 20.48 MB, free: 1.367 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.002241/0.002241, allocations: 216 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 207.7 MB / 234.6 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2425/0.2425, allocations: 44.26 MB / 331.1 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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.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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002483/0.002483, allocations: 74.7 kB / 468.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1511, allocations: 61.03 MB / 0.517 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01575/0.1668, allocations: 10.12 MB / 0.5268 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01679/0.1836, allocations: 12.58 MB / 0.5391 GB, free: 352 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.1839, allocations: 7.938 kB / 0.5391 GB, free: 344 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.1842, allocations: 67.45 kB / 0.5392 GB, free: 276 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2766/0.4609, allocations: 3.089 MB / 0.5422 GB, free: 9.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.4613, allocations: 154.4 kB / 0.5424 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005951/0.4672, allocations: 3.963 MB / 0.5462 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.907e-05/0.4673, allocations: 16.66 kB / 0.5462 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.4675, allocations: 151.1 kB / 0.5464 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01062/0.4781, allocations: 7.248 MB / 0.5535 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.945e-05/0.4782, allocations: 13.28 kB / 0.5535 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006628/0.4848, allocations: 2.11 MB / 0.5555 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.485, allocations: 44.48 kB / 0.5556 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.4853, allocations: 111.9 kB / 0.5557 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005385/0.4906, allocations: 1.533 MB / 0.5572 GB, free: 8.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4906, allocations: 4.469 kB / 0.5572 GB, free: 8.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4906, allocations: 0 / 0.5572 GB, free: 8.688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.4907, allocations: 0.5 kB / 0.5572 GB, free: 8.688 MB / 414.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.002535/0.4932, allocations: 0.8657 MB / 0.558 GB, free: 8.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4932, allocations: 10.06 kB / 0.558 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.399e-05/0.4933, allocations: 10.5 kB / 0.5581 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.114e-05/0.4933, allocations: 64.84 kB / 0.5581 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005998/0.4939, allocations: 75.86 kB / 0.5582 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.4942, allocations: 196.5 kB / 0.5584 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.4943, allocations: 21.94 kB / 0.5584 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.4943, allocations: 23.28 kB / 0.5584 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009431/0.4953, allocations: 0.5335 MB / 0.5589 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.4953, allocations: 4.312 kB / 0.5589 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.4953, allocations: 13.06 kB / 0.559 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.4953, allocations: 8 kB / 0.559 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.4964, allocations: 0.6911 MB / 0.5596 GB, free: 7.824 MB / 414.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.006666/0.5031, allocations: 2.879 MB / 0.5624 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.5037, allocations: 164 kB / 0.5626 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.5037, allocations: 58.95 kB / 0.5627 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02351/0.5272, allocations: 7.697 MB / 0.5702 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006443/0.5279, allocations: 330.7 kB / 0.5705 GB, free: 3.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.195e-06/0.5279, allocations: 0 / 0.5705 GB, free: 3.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001327/0.5292, allocations: 446.2 kB / 0.5709 GB, free: 3.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.5293, allocations: 477.2 kB / 0.5714 GB, free: 2.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.5295, allocations: 188.5 kB / 0.5716 GB, free: 2.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.5295, allocations: 34.08 kB / 0.5716 GB, free: 2.438 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.5296, allocations: 191.3 kB / 0.5718 GB, free: 2.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.5296, allocations: 105.9 kB / 0.5719 GB, free: 2.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-05/0.5297, allocations: 95.47 kB / 0.572 GB, free: 2.113 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.749e-05/0.5298, allocations: 326.4 kB / 0.5723 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.5298, allocations: 67.02 kB / 0.5723 GB, free: 1.762 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.53, allocations: 311.5 kB / 0.5726 GB, free: 1.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.5304, allocations: 427.5 kB / 0.573 GB, free: 1.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.5304, allocations: 5.438 kB / 0.573 GB, free: 1.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006026/0.531, allocations: 399.5 kB / 0.5734 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.531, allocations: 8.375 kB / 0.5734 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.531, allocations: 10.61 kB / 0.5734 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.531, allocations: 13.03 kB / 0.5735 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.5313, allocations: 107.6 kB / 0.5736 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.5314, allocations: 15.59 kB / 0.5736 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.5316, allocations: 48.83 kB / 0.5736 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.5317, allocations: 36.73 kB / 0.5737 GB, free: 0.7852 MB / 414.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.0001251/0.5318, allocations: 160.5 kB / 0.5738 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.5319, allocations: 28.84 kB / 0.5738 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008902/0.5328, allocations: 0.807 MB / 0.5746 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.5328, allocations: 12.11 kB / 0.5746 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.5328, allocations: 2.594 kB / 0.5746 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5328, allocations: 5.281 kB / 0.5746 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.534, allocations: 0.898 MB / 0.5755 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.534, allocations: 5.531 kB / 0.5755 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.5341, allocations: 37.64 kB / 0.5756 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.5341, allocations: 8.578 kB / 0.5756 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.5341, allocations: 4.312 kB / 0.5756 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.5341, allocations: 8.172 kB / 0.5756 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.5341, allocations: 2.719 kB / 0.5756 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.5346, allocations: 377.7 kB / 0.5759 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.5347, allocations: 35.27 kB / 0.576 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/0.5347, allocations: 45.31 kB / 0.576 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.535, allocations: 14.58 kB / 0.576 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.535, allocations: 25.86 kB / 0.5761 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.535, allocations: 8.25 kB / 0.5761 GB, free: 15.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003324/0.5354, allocations: 295.7 kB / 0.5763 GB, free: 14.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5354, allocations: 0 / 0.5763 GB, free: 14.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001719/0.5371, allocations: 425 kB / 0.5768 GB, free: 14.74 MB / 430.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.002577/0.5397, allocations: 1.446 MB / 0.5782 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005074/0.5402, allocations: 227.5 kB / 0.5784 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5402, allocations: 0 / 0.5784 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.5403, allocations: 77.89 kB / 0.5785 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008404/0.5411, allocations: 117.4 kB / 0.5786 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.287/1.829, allocations: 0.5821 GB / 1.161 GB, free: 78.06 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/1.829, allocations: 211.1 kB / 1.161 GB, free: 77.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004738/1.829, allocations: 166.1 kB / 1.161 GB, free: 77.69 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/1.829, allocations: 151.4 kB / 1.161 GB, free: 77.54 MB / 0.5919 GB Notification: Performance of SimCode: time 1.854e-06/1.829, allocations: 0 / 1.161 GB, free: 77.54 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03889/1.868, allocations: 19.12 MB / 1.18 GB, free: 58.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/14.52, allocations: 16 kB / 1.18 GB, free: 58.49 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.941896451986395]