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.001182/0.001182, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.001191/0.001192, allocations: 183.8 kB / 18.71 MB, free: 4.348 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.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2088/0.2088, allocations: 44.17 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 64.09 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3909, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01178/0.4027, allocations: 11.24 MB / 0.5294 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.416, allocations: 11.78 MB / 0.5409 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.4163, allocations: 1.219 kB / 0.5409 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004249/0.4168, allocations: 74 kB / 0.541 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.4285, allocations: 3.115 MB / 0.5441 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.429, allocations: 154.6 kB / 0.5442 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006295/0.4353, allocations: 3.899 MB / 0.548 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.072e-05/0.4354, allocations: 19.09 kB / 0.548 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.4357, allocations: 144.7 kB / 0.5482 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009875/0.4456, allocations: 7.126 MB / 0.5551 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.57e-05/0.4457, allocations: 8 kB / 0.5551 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005699/0.4514, allocations: 2.131 MB / 0.5572 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.779e-05/0.4515, allocations: 47.77 kB / 0.5573 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.4517, allocations: 127.4 kB / 0.5574 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004485/0.4562, allocations: 1.54 MB / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4562, allocations: 0 / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4562, allocations: 0 / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.4562, allocations: 0 / 0.5589 GB, free: 2.645 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.002414/0.4587, allocations: 0.9205 MB / 0.5598 GB, free: 1.676 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4587, allocations: 12.03 kB / 0.5598 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.842e-05/0.4588, allocations: 62.73 kB / 0.5599 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006554/0.4595, allocations: 76.58 kB / 0.5599 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.4599, allocations: 255.9 kB / 0.5602 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.4599, allocations: 20.94 kB / 0.5602 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.46, allocations: 24.38 kB / 0.5602 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009904/0.461, allocations: 489.4 kB / 0.5607 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.461, allocations: 3.938 kB / 0.5607 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.461, allocations: 12 kB / 0.5607 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.461, allocations: 4 kB / 0.5607 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.4623, allocations: 0.689 MB / 0.5614 GB, free: 15.96 MB / 430.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.007255/0.4696, allocations: 4.292 MB / 0.5656 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000554/0.4701, allocations: 174.9 kB / 0.5657 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.4702, allocations: 61.55 kB / 0.5658 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02798/0.4982, allocations: 16.4 MB / 0.5818 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008453/0.4991, allocations: 329.9 kB / 0.5821 GB, free: 8.047 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 4.158e-06/0.4991, allocations: 0 / 0.5821 GB, free: 8.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001574/0.5007, allocations: 442.2 kB / 0.5825 GB, free: 7.609 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002702/0.501, allocations: 475 kB / 0.583 GB, free: 7.035 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.5013, allocations: 195.3 kB / 0.5832 GB, free: 6.836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.5013, allocations: 33.7 kB / 0.5832 GB, free: 6.797 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.5015, allocations: 183.6 kB / 0.5834 GB, free: 6.613 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.5016, allocations: 98.58 kB / 0.5835 GB, free: 6.516 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.5018, allocations: 94.02 kB / 0.5836 GB, free: 6.418 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5019, allocations: 334.8 kB / 0.5839 GB, free: 6.082 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.5021, allocations: 60.84 kB / 0.5839 GB, free: 6.023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.5024, allocations: 314.7 kB / 0.5842 GB, free: 5.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005797/0.503, allocations: 424.9 kB / 0.5847 GB, free: 5.059 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.503, allocations: 4 kB / 0.5847 GB, free: 5.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008018/0.5038, allocations: 397.3 kB / 0.585 GB, free: 4.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.5039, allocations: 11.98 kB / 0.585 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.5039, allocations: 8 kB / 0.5851 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/0.5039, allocations: 12 kB / 0.5851 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.5042, allocations: 104.5 kB / 0.5852 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.549e-05/0.5043, allocations: 19.94 kB / 0.5852 GB, free: 4.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.5045, allocations: 55.45 kB / 0.5852 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.5046, allocations: 28 kB / 0.5853 GB, free: 4.426 MB / 446.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.000157/0.5048, allocations: 153.7 kB / 0.5854 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/0.5049, allocations: 27.7 kB / 0.5854 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.5059, allocations: 0.7854 MB / 0.5862 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.5059, allocations: 4 kB / 0.5862 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.5059, allocations: 4 kB / 0.5862 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5059, allocations: 3.938 kB / 0.5862 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.5074, allocations: 1.211 MB / 0.5874 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5074, allocations: 160 / 0.5874 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.5075, allocations: 39.92 kB / 0.5874 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.5075, allocations: 7.938 kB / 0.5874 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.5076, allocations: 11.98 kB / 0.5875 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.5076, allocations: 4 kB / 0.5875 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.5076, allocations: 4 kB / 0.5875 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/0.5081, allocations: 376.4 kB / 0.5878 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.612e-05/0.5082, allocations: 100.8 kB / 0.5879 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.766e-05/0.5083, allocations: 55.42 kB / 0.588 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.5085, allocations: 7.984 kB / 0.588 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.5086, allocations: 20.02 kB / 0.588 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.5086, allocations: 11.94 kB / 0.588 GB, free: 1.359 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003161/0.5089, allocations: 294.9 kB / 0.5883 GB, free: 1.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5089, allocations: 0 / 0.5883 GB, free: 1.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001363/0.5103, allocations: 435.4 kB / 0.5887 GB, free: 0.6445 MB / 446.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.00239/0.5127, allocations: 1.437 MB / 0.5901 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004707/0.5132, allocations: 229.1 kB / 0.5903 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5132, allocations: 4 kB / 0.5903 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.5133, allocations: 88.66 kB / 0.5904 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007776/0.5141, allocations: 110.4 kB / 0.5905 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.527/2.041, allocations: 0.582 GB / 1.172 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/2.041, allocations: 0.8044 MB / 1.173 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004433/2.042, allocations: 169.7 kB / 1.173 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/2.042, allocations: 149.3 kB / 1.174 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.143e-06/2.042, allocations: 1.281 kB / 1.174 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03911/2.081, allocations: 18.5 MB / 1.192 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.765/10.85, allocations: 15.67 kB / 1.192 GB, free: 194.3 MB / 0.5919 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