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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000836/0.0008359, allocations: 93.48 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009072/0.0009072, allocations: 175.6 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2024/0.2024, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003223, allocations: 8.562 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1212, allocations: 61.93 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01195/0.1332, allocations: 10.98 MB / 483.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.1457, allocations: 11.83 MB / 495.2 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.146, allocations: 0 / 495.2 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.1463, allocations: 67.61 kB / 495.2 MB, free: 6.297 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009007/0.1553, allocations: 2.621 MB / 497.9 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.1557, allocations: 147 kB / 498 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006473/0.1622, allocations: 4.145 MB / 0.4904 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.006e-05/0.1623, allocations: 20.41 kB / 0.4904 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.1626, allocations: 143.4 kB / 0.4905 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01125/0.1739, allocations: 7.559 MB / 0.4979 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.195e-05/0.174, allocations: 8 kB / 0.4979 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005629/0.1796, allocations: 2.115 MB / 0.5 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.1797, allocations: 47.81 kB / 0.5 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.18, allocations: 157.1 kB / 0.5002 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004748/0.1847, allocations: 1.52 MB / 0.5017 GB, free: 3.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1847, allocations: 3.984 kB / 0.5017 GB, free: 3.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1848, allocations: 3.938 kB / 0.5017 GB, free: 3.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1848, allocations: 0 / 0.5017 GB, free: 3.777 MB / 382.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.002511/0.1873, allocations: 0.8658 MB / 0.5025 GB, free: 2.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1873, allocations: 8.031 kB / 0.5025 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.1874, allocations: 62.73 kB / 0.5026 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005873/0.188, allocations: 84.58 kB / 0.5027 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.1884, allocations: 247.9 kB / 0.5029 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.1884, allocations: 16.94 kB / 0.5029 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.1885, allocations: 32.31 kB / 0.503 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009816/0.1894, allocations: 485.4 kB / 0.5034 GB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1895, allocations: 0 / 0.5034 GB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.1895, allocations: 12 kB / 0.5034 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.1895, allocations: 8 kB / 0.5034 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.1906, allocations: 0.6812 MB / 0.5041 GB, free: 1.164 MB / 382.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.2639/0.4546, allocations: 4.278 MB / 0.5083 GB, free: 32.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.4553, allocations: 173.2 kB / 0.5084 GB, free: 32.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.4554, allocations: 57.95 kB / 0.5085 GB, free: 32.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02694/0.4823, allocations: 16.38 MB / 0.5245 GB, free: 21.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006768/0.483, allocations: 325.9 kB / 0.5248 GB, free: 21.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.504e-06/0.4831, allocations: 4 kB / 0.5248 GB, free: 21.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001432/0.4845, allocations: 433.8 kB / 0.5252 GB, free: 21.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.4847, allocations: 480.8 kB / 0.5257 GB, free: 20.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.4848, allocations: 190.2 kB / 0.5259 GB, free: 20.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.4849, allocations: 31.86 kB / 0.5259 GB, free: 20.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/0.485, allocations: 183.9 kB / 0.5261 GB, free: 20.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.4851, allocations: 99.47 kB / 0.5262 GB, free: 20.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.4851, allocations: 44.91 kB / 0.5262 GB, free: 20.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.028e-05/0.4852, allocations: 334.2 kB / 0.5265 GB, free: 20.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.4853, allocations: 66.92 kB / 0.5266 GB, free: 20.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.4855, allocations: 306.2 kB / 0.5269 GB, free: 19.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.4859, allocations: 422.1 kB / 0.5273 GB, free: 19.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/0.4859, allocations: 2.875 kB / 0.5273 GB, free: 19.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006346/0.4866, allocations: 403.6 kB / 0.5277 GB, free: 19.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.4866, allocations: 9.094 kB / 0.5277 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.4866, allocations: 8.188 kB / 0.5277 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.4866, allocations: 12.81 kB / 0.5277 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.487, allocations: 112.6 kB / 0.5278 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.487, allocations: 14.53 kB / 0.5278 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.4873, allocations: 52.03 kB / 0.5279 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/0.4873, allocations: 35.19 kB / 0.5279 GB, free: 19.36 MB / 382.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.0001374/0.4875, allocations: 157.5 kB / 0.5281 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.4875, allocations: 31.31 kB / 0.5281 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009751/0.4885, allocations: 0.7824 MB / 0.5289 GB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.4885, allocations: 7.141 kB / 0.5289 GB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4886, allocations: 3.219 kB / 0.5289 GB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4886, allocations: 2.281 kB / 0.5289 GB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.4897, allocations: 1.212 MB / 0.53 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.4897, allocations: 2.75 kB / 0.53 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.4898, allocations: 38.95 kB / 0.5301 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.4898, allocations: 2.844 kB / 0.5301 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.4898, allocations: 14.14 kB / 0.5301 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.4898, allocations: 8.062 kB / 0.5301 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4898, allocations: 6.844 kB / 0.5301 GB, free: 18.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.4902, allocations: 383.3 kB / 0.5305 GB, free: 18.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.4903, allocations: 212.3 kB / 0.5307 GB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.4904, allocations: 11.56 kB / 0.5307 GB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.4906, allocations: 18.8 kB / 0.5307 GB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.4907, allocations: 18.06 kB / 0.5307 GB, free: 17.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.4907, allocations: 12.19 kB / 0.5307 GB, free: 17.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002778/0.491, allocations: 290.2 kB / 0.531 GB, free: 17.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.491, allocations: 0 / 0.531 GB, free: 17.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00127/0.4923, allocations: 421.3 kB / 0.5314 GB, free: 17.76 MB / 382.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.001859/0.4941, allocations: 1.437 MB / 0.5328 GB, free: 16.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003727/0.4945, allocations: 229.1 kB / 0.533 GB, free: 16.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4945, allocations: 3.562 kB / 0.533 GB, free: 16.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.4946, allocations: 84.88 kB / 0.5331 GB, free: 16.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/0.4955, allocations: 106.8 kB / 0.5332 GB, free: 16.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.403/1.898, allocations: 0.58 GB / 1.113 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/1.899, allocations: 0.8067 MB / 1.114 GB, free: 168.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004317/1.899, allocations: 165.3 kB / 1.114 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/1.899, allocations: 151.4 kB / 1.114 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/1.899, allocations: 0 / 1.114 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/1.927, allocations: 17.89 MB / 1.132 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/1.927, allocations: 229.5 kB / 1.132 GB, free: 150.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/4.325, allocations: 2.188 kB / 1.132 GB, free: 150.6 MB / 0.5137 GB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches