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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.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.2555/0.2555, allocations: 44.93 MB / 349.6 MB, free: 1.742 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 65.19 kB / 491.8 MB, free: 30.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.12, allocations: 64.27 MB / 0.5431 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01414/0.1341, allocations: 11.28 MB / 0.5541 GB, free: 8.859 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01424/0.1484, allocations: 11.81 MB / 0.5656 GB, free: 13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.1486, allocations: 4 kB / 0.5656 GB, free: 13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.149, allocations: 67.56 kB / 0.5657 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.1597, allocations: 3.121 MB / 0.5687 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.1602, allocations: 144.6 kB / 0.5689 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005995/0.1662, allocations: 3.924 MB / 0.5727 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.81e-05/0.1662, allocations: 12.41 kB / 0.5727 GB, free: 5.723 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.1664, allocations: 143.5 kB / 0.5728 GB, free: 5.582 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/0.1765, allocations: 7.16 MB / 0.5798 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.233e-05/0.1766, allocations: 8 kB / 0.5798 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005211/0.1818, allocations: 2.15 MB / 0.5819 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.844e-05/0.1819, allocations: 51.75 kB / 0.582 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.1821, allocations: 123.5 kB / 0.5821 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002875/0.1849, allocations: 1.547 MB / 0.5836 GB, free: 10.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1849, allocations: 3.938 kB / 0.5836 GB, free: 10.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1849, allocations: 0 / 0.5836 GB, free: 10.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1849, allocations: 0 / 0.5836 GB, free: 10.53 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.002125/0.1871, allocations: 0.9375 MB / 0.5845 GB, free: 9.539 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1871, allocations: 8.031 kB / 0.5845 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.239e-05/0.1872, allocations: 70.72 kB / 0.5846 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005688/0.1878, allocations: 76.73 kB / 0.5847 GB, free: 9.379 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.1882, allocations: 248 kB / 0.5849 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1882, allocations: 20.94 kB / 0.5849 GB, free: 9.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.1882, allocations: 28.31 kB / 0.585 GB, free: 9.051 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009981/0.1892, allocations: 489.4 kB / 0.5854 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1892, allocations: 3.938 kB / 0.5854 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.1893, allocations: 12 kB / 0.5855 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.1893, allocations: 8 kB / 0.5855 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.1904, allocations: 0.689 MB / 0.5861 GB, free: 7.824 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.007803/0.1982, allocations: 4.3 MB / 0.5903 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.1988, allocations: 159 kB / 0.5905 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/0.1989, allocations: 57.53 kB / 0.5905 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03078/0.2297, allocations: 16.4 MB / 0.6066 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2578/0.4874, allocations: 320.8 kB / 0.6069 GB, free: 64.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 6.933e-06/0.4875, allocations: 0 / 0.6069 GB, free: 64.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001901/0.4894, allocations: 441.8 kB / 0.6073 GB, free: 64.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.4895, allocations: 476.5 kB / 0.6077 GB, free: 64.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.4897, allocations: 188.5 kB / 0.6079 GB, free: 64.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.4897, allocations: 33.34 kB / 0.6079 GB, free: 64.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.851e-05/0.4898, allocations: 187.2 kB / 0.6081 GB, free: 64.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.036e-05/0.4899, allocations: 109.1 kB / 0.6082 GB, free: 64.01 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.49, allocations: 92.28 kB / 0.6083 GB, free: 63.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.4901, allocations: 333 kB / 0.6086 GB, free: 63.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.4902, allocations: 65.16 kB / 0.6087 GB, free: 63.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.4905, allocations: 310 kB / 0.609 GB, free: 63.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.491, allocations: 429 kB / 0.6094 GB, free: 63.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.491, allocations: 3 kB / 0.6094 GB, free: 63.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007238/0.4917, allocations: 402 kB / 0.6098 GB, free: 62.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.4917, allocations: 8.688 kB / 0.6098 GB, free: 62.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.4917, allocations: 16.16 kB / 0.6098 GB, free: 62.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.161e-05/0.4918, allocations: 11.56 kB / 0.6098 GB, free: 62.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.4921, allocations: 108.5 kB / 0.6099 GB, free: 62.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-05/0.4921, allocations: 21.42 kB / 0.6099 GB, free: 62.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.4924, allocations: 42.28 kB / 0.61 GB, free: 62.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.4924, allocations: 33.23 kB / 0.61 GB, free: 62.9 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.0001161/0.4926, allocations: 156 kB / 0.6102 GB, free: 62.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.323e-05/0.4926, allocations: 31.48 kB / 0.6102 GB, free: 62.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.4937, allocations: 0.7769 MB / 0.611 GB, free: 62.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.4938, allocations: 6.234 kB / 0.611 GB, free: 62.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.4938, allocations: 2.531 kB / 0.611 GB, free: 62.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4938, allocations: 3.672 kB / 0.611 GB, free: 62.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.495, allocations: 1.225 MB / 0.6122 GB, free: 61.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.495, allocations: 6.516 kB / 0.6122 GB, free: 61.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.4951, allocations: 28.64 kB / 0.6122 GB, free: 61.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.4951, allocations: 3.641 kB / 0.6122 GB, free: 61.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.4951, allocations: 9.094 kB / 0.6122 GB, free: 61.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.4951, allocations: 9.391 kB / 0.6122 GB, free: 61.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4951, allocations: 2.938 kB / 0.6122 GB, free: 61.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.4955, allocations: 383.2 kB / 0.6126 GB, free: 61.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.4956, allocations: 102 kB / 0.6127 GB, free: 61.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.4957, allocations: 49.86 kB / 0.6127 GB, free: 61.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.4959, allocations: 12.56 kB / 0.6127 GB, free: 61.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.496, allocations: 20.69 kB / 0.6128 GB, free: 61.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.496, allocations: 11.91 kB / 0.6128 GB, free: 61.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000363/0.4963, allocations: 294.1 kB / 0.6131 GB, free: 61.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4963, allocations: 3.969 kB / 0.6131 GB, free: 61.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001535/0.4979, allocations: 427.5 kB / 0.6135 GB, free: 60.92 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.001702/0.4996, allocations: 1.448 MB / 0.6149 GB, free: 59.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00044/0.5, allocations: 230.5 kB / 0.6151 GB, free: 59.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5, allocations: 0.875 kB / 0.6151 GB, free: 59.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.5001, allocations: 77.67 kB / 0.6152 GB, free: 59.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000752/0.5009, allocations: 106.9 kB / 0.6153 GB, free: 59.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.221/1.721, allocations: 0.5821 GB / 1.197 GB, free: 97.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/1.722, allocations: 0.8107 MB / 1.198 GB, free: 97 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003835/1.722, allocations: 172.6 kB / 1.198 GB, free: 96.86 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/1.722, allocations: 148.2 kB / 1.198 GB, free: 96.71 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/1.722, allocations: 0 / 1.198 GB, free: 96.71 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04058/1.763, allocations: 18.42 MB / 1.216 GB, free: 78.49 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.174/10.94, allocations: 15.06 kB / 1.216 GB, free: 78.48 MB / 0.6075 GB " [Timeout remaining time 649] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.969184273853898]