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.001777/0.001777, allocations: 109 kB / 20.48 MB, free: 1.477 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.001633/0.001633, allocations: 209.7 kB / 23.79 MB, free: 4.688 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.483/1.483, allocations: 207.6 MB / 234.6 MB, free: 9.988 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.2397/0.2397, allocations: 44.24 MB / 331.1 MB, free: 9.516 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.002224/0.002224, allocations: 71.89 kB / 468.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1399, allocations: 61.03 MB / 0.517 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01525/0.1551, allocations: 11.35 MB / 0.528 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2657/0.4208, allocations: 14.37 MB / 0.5421 GB, free: 9.559 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.421, allocations: 1.156 kB / 0.5421 GB, free: 9.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.4213, allocations: 72.52 kB / 0.5421 GB, free: 9.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008759/0.4301, allocations: 3.141 MB / 0.5452 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.4305, allocations: 154.8 kB / 0.5454 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005956/0.4364, allocations: 3.969 MB / 0.5492 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.754e-05/0.4365, allocations: 11.97 kB / 0.5492 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.4367, allocations: 144.3 kB / 0.5494 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01145/0.4482, allocations: 7.257 MB / 0.5565 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.297e-05/0.4483, allocations: 8.719 kB / 0.5565 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007135/0.4554, allocations: 2.165 MB / 0.5586 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.4555, allocations: 46.98 kB / 0.5586 GB, free: 8.453 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.4559, allocations: 126.4 kB / 0.5588 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006011/0.4619, allocations: 1.55 MB / 0.5603 GB, free: 8.293 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.4619, allocations: 1.188 kB / 0.5603 GB, free: 8.293 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4619, allocations: 4 kB / 0.5603 GB, free: 8.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.4619, allocations: 0 / 0.5603 GB, free: 8.289 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.002844/0.4648, allocations: 0.866 MB / 0.5611 GB, free: 7.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.4648, allocations: 13.44 kB / 0.5611 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.493e-05/0.4649, allocations: 7.062 kB / 0.5611 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/0.4649, allocations: 65.19 kB / 0.5612 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000632/0.4655, allocations: 79.31 kB / 0.5613 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.4659, allocations: 199 kB / 0.5615 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.4659, allocations: 18.91 kB / 0.5615 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.466, allocations: 25.75 kB / 0.5615 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009535/0.4669, allocations: 499.1 kB / 0.562 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4669, allocations: 0 / 0.562 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.467, allocations: 15.09 kB / 0.562 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.467, allocations: 7.062 kB / 0.562 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.4681, allocations: 0.7008 MB / 0.5627 GB, free: 7.371 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.006825/0.475, allocations: 3.046 MB / 0.5657 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.4755, allocations: 167.5 kB / 0.5658 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.4756, allocations: 55.89 kB / 0.5659 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.023/0.4986, allocations: 7.684 MB / 0.5734 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006326/0.4993, allocations: 316.5 kB / 0.5737 GB, free: 1.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.755e-06/0.4993, allocations: 2.359 kB / 0.5737 GB, free: 1.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.00126/0.5005, allocations: 437 kB / 0.5741 GB, free: 1.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.5006, allocations: 487.2 kB / 0.5746 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.5007, allocations: 190 kB / 0.5748 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.5008, allocations: 32.45 kB / 0.5748 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.5008, allocations: 192.5 kB / 0.575 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.5009, allocations: 105.3 kB / 0.5751 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-05/0.501, allocations: 96.28 kB / 0.5752 GB, free: 484 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.501, allocations: 331.3 kB / 0.5755 GB, free: 148 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.5011, allocations: 63.77 kB / 0.5755 GB, free: 120 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.5014, allocations: 312.6 kB / 0.5758 GB, free: 15.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/0.5019, allocations: 425 kB / 0.5762 GB, free: 15.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5019, allocations: 2.781 kB / 0.5762 GB, free: 15.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006716/0.5026, allocations: 398.2 kB / 0.5766 GB, free: 15.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5026, allocations: 13.47 kB / 0.5766 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.5026, allocations: 8.25 kB / 0.5766 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.5027, allocations: 12.38 kB / 0.5767 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.503, allocations: 103.6 kB / 0.5768 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.503, allocations: 22.86 kB / 0.5768 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.5033, allocations: 52.69 kB / 0.5768 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.5033, allocations: 30.25 kB / 0.5769 GB, free: 15.03 MB / 430.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.0001638/0.5035, allocations: 165 kB / 0.577 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/0.5035, allocations: 27.03 kB / 0.577 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.5045, allocations: 0.8089 MB / 0.5778 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.5046, allocations: 2.5 kB / 0.5778 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5046, allocations: 2.938 kB / 0.5778 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.5046, allocations: 15.14 kB / 0.5778 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.5057, allocations: 0.9035 MB / 0.5787 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.5057, allocations: 0 / 0.5787 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.5058, allocations: 37.64 kB / 0.5788 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.5058, allocations: 6.438 kB / 0.5788 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.5058, allocations: 9.562 kB / 0.5788 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.5058, allocations: 10.95 kB / 0.5788 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.5058, allocations: 6.062 kB / 0.5788 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.5063, allocations: 380.5 kB / 0.5792 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.5063, allocations: 29.48 kB / 0.5792 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.8e-05/0.5064, allocations: 43.06 kB / 0.5792 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.5066, allocations: 15.03 kB / 0.5792 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.5067, allocations: 22.81 kB / 0.5793 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.5067, allocations: 7.719 kB / 0.5793 GB, free: 13.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002928/0.507, allocations: 294.1 kB / 0.5796 GB, free: 13.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.507, allocations: 0 / 0.5796 GB, free: 13.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001362/0.5083, allocations: 440.9 kB / 0.58 GB, free: 12.9 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.001926/0.5103, allocations: 1.443 MB / 0.5814 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.5107, allocations: 220.5 kB / 0.5816 GB, free: 11.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5107, allocations: 3.156 kB / 0.5816 GB, free: 11.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.5108, allocations: 82.77 kB / 0.5817 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007794/0.5116, allocations: 105.8 kB / 0.5818 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.211/1.722, allocations: 0.5821 GB / 1.164 GB, free: 75.97 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/1.723, allocations: 0.8107 MB / 1.165 GB, free: 75.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003752/1.723, allocations: 170.6 kB / 1.165 GB, free: 74.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/1.723, allocations: 143.4 kB / 1.165 GB, free: 74.85 MB / 0.5919 GB Notification: Performance of SimCode: time 1.001e-06/1.723, allocations: 0 / 1.165 GB, free: 74.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/1.763, allocations: 18.8 MB / 1.183 GB, free: 56.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/14.18, allocations: 12.7 kB / 1.183 GB, free: 56.12 MB / 0.5919 GB " [Timeout remaining time 646] (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.504305417998694]