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.001054/0.001054, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001032/0.001032, allocations: 183 kB / 18.72 MB, free: 4.336 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.03 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.2135/0.2135, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3573, allocations: 60.82 MB / 0.5185 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01371/0.3711, allocations: 11.24 MB / 0.5294 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.3848, allocations: 11.78 MB / 0.541 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002681/0.3851, allocations: 1.094 kB / 0.541 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004315/0.3856, allocations: 69.44 kB / 0.541 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.3971, allocations: 3.113 MB / 0.5441 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.3977, allocations: 159.6 kB / 0.5442 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007097/0.4048, allocations: 3.895 MB / 0.548 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.4049, allocations: 22.7 kB / 0.548 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004066/0.4053, allocations: 145.2 kB / 0.5482 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01058/0.4159, allocations: 7.119 MB / 0.5551 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.257e-05/0.416, allocations: 8 kB / 0.5551 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006326/0.4224, allocations: 2.135 MB / 0.5572 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.4225, allocations: 43.77 kB / 0.5573 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000357/0.4229, allocations: 127.4 kB / 0.5574 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005812/0.4287, allocations: 1.547 MB / 0.5589 GB, free: 2.758 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4287, allocations: 4 kB / 0.5589 GB, free: 2.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4287, allocations: 0 / 0.5589 GB, free: 2.754 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.4288, allocations: 0 / 0.5589 GB, free: 2.754 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.002885/0.4316, allocations: 0.9374 MB / 0.5598 GB, free: 1.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.4317, allocations: 12.02 kB / 0.5598 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.4318, allocations: 66.73 kB / 0.5599 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006866/0.4325, allocations: 84.66 kB / 0.56 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.4331, allocations: 252 kB / 0.5602 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.4331, allocations: 20.94 kB / 0.5602 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.035e-05/0.4332, allocations: 24.38 kB / 0.5603 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.4343, allocations: 485.4 kB / 0.5607 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.4344, allocations: 0 / 0.5607 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.4344, allocations: 15.94 kB / 0.5607 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.4344, allocations: 8 kB / 0.5607 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.4356, allocations: 0.6774 MB / 0.5614 GB, free: 60 kB / 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.007697/0.4434, allocations: 4.311 MB / 0.5656 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005666/0.4439, allocations: 167 kB / 0.5658 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.599e-05/0.444, allocations: 57.53 kB / 0.5658 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02828/0.4723, allocations: 16.41 MB / 0.5818 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007716/0.4731, allocations: 322 kB / 0.5822 GB, free: 8.133 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.665e-06/0.4732, allocations: 4 kB / 0.5822 GB, free: 8.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.00156/0.4747, allocations: 438.8 kB / 0.5826 GB, free: 7.695 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002231/0.475, allocations: 478.8 kB / 0.583 GB, free: 7.117 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.4752, allocations: 187.4 kB / 0.5832 GB, free: 6.926 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.4753, allocations: 29.7 kB / 0.5832 GB, free: 6.891 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.4754, allocations: 200.1 kB / 0.5834 GB, free: 6.691 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.678e-05/0.4755, allocations: 103.2 kB / 0.5835 GB, free: 6.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.4756, allocations: 94.06 kB / 0.5836 GB, free: 6.492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4757, allocations: 334.8 kB / 0.5839 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.4759, allocations: 60.84 kB / 0.584 GB, free: 6.098 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.4762, allocations: 310.7 kB / 0.5843 GB, free: 5.672 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.4767, allocations: 429 kB / 0.5847 GB, free: 5.133 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.4767, allocations: 4 kB / 0.5847 GB, free: 5.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007267/0.4774, allocations: 401.1 kB / 0.5851 GB, free: 4.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.4775, allocations: 10.81 kB / 0.5851 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.4775, allocations: 12 kB / 0.5851 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.4775, allocations: 12 kB / 0.5851 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.4779, allocations: 111.8 kB / 0.5852 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.4779, allocations: 12.5 kB / 0.5852 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.4782, allocations: 55.56 kB / 0.5853 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/0.4782, allocations: 35.98 kB / 0.5853 GB, free: 4.488 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.0001487/0.4784, allocations: 157.6 kB / 0.5855 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/0.4785, allocations: 27.89 kB / 0.5855 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000969/0.4794, allocations: 0.7862 MB / 0.5863 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.4795, allocations: 4.219 kB / 0.5863 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4795, allocations: 4 kB / 0.5863 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.4795, allocations: 7.938 kB / 0.5863 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.4807, allocations: 1.215 MB / 0.5875 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.4807, allocations: 4 kB / 0.5875 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.4808, allocations: 31.92 kB / 0.5875 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.4808, allocations: 12.03 kB / 0.5875 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.4809, allocations: 8 kB / 0.5875 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.4809, allocations: 7.984 kB / 0.5875 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4809, allocations: 4 kB / 0.5875 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.4813, allocations: 376.6 kB / 0.5879 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.63e-05/0.4814, allocations: 100.9 kB / 0.588 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.642e-05/0.4815, allocations: 47.56 kB / 0.588 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.4818, allocations: 15.98 kB / 0.5881 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.4818, allocations: 19.92 kB / 0.5881 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.4818, allocations: 8 kB / 0.5881 GB, free: 1.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000315/0.4822, allocations: 294.9 kB / 0.5884 GB, free: 1.121 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4822, allocations: 0 / 0.5884 GB, free: 1.121 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001327/0.4835, allocations: 434.5 kB / 0.5888 GB, free: 0.6953 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.002467/0.486, allocations: 1.449 MB / 0.5902 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004759/0.4865, allocations: 233.4 kB / 0.5904 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4865, allocations: 0 / 0.5904 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.4866, allocations: 84.78 kB / 0.5905 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008494/0.4875, allocations: 114.1 kB / 0.5906 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.539/2.026, allocations: 0.5821 GB / 1.173 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/2.027, allocations: 0.8153 MB / 1.173 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004055/2.027, allocations: 159.3 kB / 1.174 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/2.027, allocations: 145.2 kB / 1.174 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/2.027, allocations: 0 / 1.174 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03703/2.064, allocations: 18.37 MB / 1.192 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.696/10.76, allocations: 14.34 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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.csv","/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