Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 94.88 kB / 17.35 MB, free: 6.375 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.001233/0.001233, allocations: 176.3 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.451/1.451, allocations: 223.3 MB / 242.3 MB, free: 248 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.2358/0.2358, allocations: 44.24 MB / 337.7 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003352, allocations: 8 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1608, allocations: 61.93 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.04101/0.2019, allocations: 28.06 MB / 0.4886 GB, free: 1.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.2176, allocations: 11.51 MB / 0.4998 GB, free: 5.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003434/0.218, allocations: 8 kB / 0.4998 GB, free: 5.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.2185, allocations: 71.62 kB / 0.4999 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3471/0.5656, allocations: 7.585 MB / 0.5073 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.5668, allocations: 390.2 kB / 0.5077 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.568, allocations: 0.6795 MB / 0.5084 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.213e-05/0.5681, allocations: 13.47 kB / 0.5084 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.5685, allocations: 185.9 kB / 0.5085 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01377/0.5823, allocations: 6.305 MB / 0.5147 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.5825, allocations: 10.06 kB / 0.5147 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03022/0.6127, allocations: 13.74 MB / 0.5281 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.6129, allocations: 84.38 kB / 0.5282 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.6133, allocations: 173.8 kB / 0.5284 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02741/0.6407, allocations: 6.933 MB / 0.5351 GB, free: 9.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6407, allocations: 4 kB / 0.5352 GB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6408, allocations: 0 / 0.5352 GB, free: 9.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.6408, allocations: 2.625 kB / 0.5352 GB, free: 9.152 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.006322/0.6471, allocations: 1.479 MB / 0.5366 GB, free: 8.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.6472, allocations: 10 kB / 0.5366 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.6474, allocations: 46.39 kB / 0.5367 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.6478, allocations: 241.9 kB / 0.5369 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.6479, allocations: 19.94 kB / 0.5369 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.6479, allocations: 25.16 kB / 0.5369 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009272/0.6489, allocations: 0.5182 MB / 0.5374 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.6489, allocations: 3.656 kB / 0.5374 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/0.649, allocations: 11 kB / 0.5374 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.934e-05/0.649, allocations: 25.73 kB / 0.5375 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.6502, allocations: 0.9158 MB / 0.5384 GB, free: 7.363 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.001839/0.6521, allocations: 1.908 MB / 0.5402 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006651/0.6528, allocations: 270.1 kB / 0.5405 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.6529, allocations: 101.3 kB / 0.5406 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01873/0.6716, allocations: 15.75 MB / 0.556 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005968/0.6723, allocations: 244.5 kB / 0.5562 GB, free: 2.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 3.506e-06/0.6723, allocations: 0 / 0.5562 GB, free: 2.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00268/0.675, allocations: 0.7876 MB / 0.557 GB, free: 1.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.6752, allocations: 269.1 kB / 0.5572 GB, free: 1.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.6755, allocations: 199.8 kB / 0.5574 GB, free: 1.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.6756, allocations: 34.27 kB / 0.5574 GB, free: 1.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.6757, allocations: 202.7 kB / 0.5576 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.6759, allocations: 127.2 kB / 0.5578 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.621e-05/0.676, allocations: 45.7 kB / 0.5578 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6761, allocations: 330.8 kB / 0.5581 GB, free: 488 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.6763, allocations: 94.38 kB / 0.5582 GB, free: 392 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004839/0.6768, allocations: 375.3 kB / 0.5586 GB, free: 15.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008371/0.6777, allocations: 0.5083 MB / 0.5591 GB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.6777, allocations: 4 kB / 0.5591 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001292/0.679, allocations: 0.5 MB / 0.5596 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.679, allocations: 16.02 kB / 0.5596 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.6791, allocations: 9.625 kB / 0.5596 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.6791, allocations: 16 kB / 0.5596 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.6797, allocations: 174.7 kB / 0.5598 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007976/0.6806, allocations: 1.186 MB / 0.5609 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.6809, allocations: 23.91 kB / 0.5609 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.681, allocations: 55.73 kB / 0.561 GB, free: 13.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.6813, allocations: 168.8 kB / 0.5612 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.6815, allocations: 35.7 kB / 0.5612 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.6826, allocations: 481.9 kB / 0.5616 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.6826, allocations: 0 / 0.5616 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6826, allocations: 0 / 0.5616 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6826, allocations: 4 kB / 0.5617 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009812/0.6836, allocations: 0.6031 MB / 0.5622 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.6836, allocations: 4 kB / 0.5622 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.684, allocations: 89.84 kB / 0.5623 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.684, allocations: 1.641 kB / 0.5623 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.6841, allocations: 11.98 kB / 0.5623 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006988/0.6848, allocations: 1.173 MB / 0.5635 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6848, allocations: 1.031 kB / 0.5635 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006896/0.6855, allocations: 333.7 kB / 0.5638 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.6856, allocations: 121.4 kB / 0.5639 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.439e-05/0.6857, allocations: 4 kB / 0.5639 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.686, allocations: 15.98 kB / 0.5639 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.6861, allocations: 33.12 kB / 0.564 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.6861, allocations: 12 kB / 0.564 GB, free: 10.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.6863, allocations: 172.5 kB / 0.5642 GB, free: 9.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.893e-06/0.6863, allocations: 0 / 0.5642 GB, free: 9.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006351/0.6927, allocations: 1.675 MB / 0.5658 GB, free: 8.297 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01135/0.704, allocations: 2.326 MB / 0.5681 GB, free: 6.176 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.7054, allocations: 320.8 kB / 0.5684 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.7054, allocations: 0 / 0.5684 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004816/0.7059, allocations: 119.3 kB / 0.5685 GB, free: 5.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00095/0.7069, allocations: 118.5 kB / 0.5686 GB, free: 5.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2179/0.9248, allocations: 140.6 MB / 0.7059 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.9253, allocations: 0.7549 MB / 0.7066 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007164/0.926, allocations: 149.8 kB / 0.7067 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.9262, allocations: 59.41 kB / 0.7068 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/0.9262, allocations: 0 / 0.7068 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of Templates: time 0.3423/1.269, allocations: 46.66 MB / 0.7524 GB, free: 173 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches