Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 178.6 kB / 16.08 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.6 MB / 222.4 MB, free: 13.67 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008164/0.0008164, allocations: 98.22 kB / 270.8 MB, free: 13.19 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1864/0.1864, allocations: 43.69 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 8 kB / 432.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1079, allocations: 58.86 MB / 491.2 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4129/0.5209, allocations: 142.8 MB / 0.6191 GB, free: 12.14 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01967/0.5406, allocations: 20.45 MB / 0.6391 GB, free: 5.906 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003703/0.5411, allocations: 4 kB / 0.6391 GB, free: 5.902 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.5416, allocations: 75.67 kB / 0.6392 GB, free: 5.828 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009475/0.5511, allocations: 3.026 MB / 0.6422 GB, free: 2.793 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.5514, allocations: 151.8 kB / 0.6423 GB, free: 2.645 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007635/0.5522, allocations: 0.7643 MB / 0.643 GB, free: 1.879 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.356e-05/0.5523, allocations: 20.41 kB / 0.6431 GB, free: 1.859 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.5526, allocations: 219.1 kB / 0.6433 GB, free: 1.645 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000726/0.5533, allocations: 406.8 kB / 0.6437 GB, free: 1.246 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.5534, allocations: 12 kB / 0.6437 GB, free: 1.234 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009597/0.563, allocations: 5.318 MB / 0.6489 GB, free: 11.9 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.5632, allocations: 87.58 kB / 0.6489 GB, free: 11.82 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.5635, allocations: 181 kB / 0.6491 GB, free: 11.64 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007497/0.571, allocations: 2.771 MB / 0.6518 GB, free: 8.859 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.571, allocations: 4 kB / 0.6518 GB, free: 8.855 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5711, allocations: 0 / 0.6518 GB, free: 8.855 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.5711, allocations: 0 / 0.6518 GB, free: 8.855 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002996/0.5741, allocations: 1.049 MB / 0.6529 GB, free: 7.758 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.5741, allocations: 8.031 kB / 0.6529 GB, free: 7.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.5743, allocations: 36.83 kB / 0.6529 GB, free: 7.715 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.5746, allocations: 258.6 kB / 0.6531 GB, free: 7.422 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.5747, allocations: 127.5 kB / 0.6533 GB, free: 7.273 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.5748, allocations: 28 kB / 0.6533 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/0.5755, allocations: 0.5681 MB / 0.6538 GB, free: 6.645 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.5755, allocations: 4 kB / 0.6539 GB, free: 6.641 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.5756, allocations: 19.98 kB / 0.6539 GB, free: 6.621 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/0.5756, allocations: 28.48 kB / 0.6539 GB, free: 6.594 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.577, allocations: 1.255 MB / 0.6551 GB, free: 5.336 MB / 458.7 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.002285/0.5793, allocations: 2.007 MB / 0.6571 GB, free: 3.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.58, allocations: 276 kB / 0.6573 GB, free: 2.902 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.5802, allocations: 118 kB / 0.6575 GB, free: 2.781 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003135/0.5833, allocations: 3.355 MB / 0.6607 GB, free: 14.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.5834, allocations: 38.56 kB / 0.6608 GB, free: 14.83 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.5834, allocations: 0 / 0.6608 GB, free: 14.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=44): time 0.001667/0.5851, allocations: 0.7172 MB / 0.6615 GB, free: 14.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.5851, allocations: 63.34 kB / 0.6615 GB, free: 14.01 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.5853, allocations: 202.7 kB / 0.6617 GB, free: 13.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.5853, allocations: 41.64 kB / 0.6618 GB, free: 13.76 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/0.5854, allocations: 191.7 kB / 0.6619 GB, free: 13.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.943e-05/0.5855, allocations: 153.8 kB / 0.6621 GB, free: 13.41 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.5856, allocations: 12 kB / 0.6621 GB, free: 13.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.5857, allocations: 330.8 kB / 0.6624 GB, free: 13.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.5859, allocations: 105.2 kB / 0.6625 GB, free: 12.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.5862, allocations: 417.4 kB / 0.6629 GB, free: 12.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/0.5868, allocations: 0.5838 MB / 0.6635 GB, free: 11.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5868, allocations: 0 / 0.6635 GB, free: 11.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008078/0.5876, allocations: 0.557 MB / 0.664 GB, free: 11.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5876, allocations: 8 kB / 0.664 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.5876, allocations: 12 kB / 0.6641 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.5877, allocations: 12 kB / 0.6641 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.5883, allocations: 199.7 kB / 0.6643 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005586/0.5889, allocations: 1.203 MB / 0.6654 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.5893, allocations: 27.98 kB / 0.6655 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/0.5893, allocations: 63.98 kB / 0.6655 GB, free: 9.555 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * 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.0001853/0.5895, allocations: 181.5 kB / 0.6657 GB, free: 9.367 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.5896, allocations: 23.81 kB / 0.6657 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.5909, allocations: 0.6385 MB / 0.6663 GB, free: 8.668 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.5909, allocations: 4 kB / 0.6663 GB, free: 8.664 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.5909, allocations: 4 kB / 0.6663 GB, free: 8.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.5909, allocations: 3.984 kB / 0.6663 GB, free: 8.656 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009122/0.5919, allocations: 0.6491 MB / 0.667 GB, free: 7.949 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5919, allocations: 4.062 kB / 0.667 GB, free: 7.945 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.5923, allocations: 111.8 kB / 0.6671 GB, free: 7.836 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.5923, allocations: 0 / 0.6671 GB, free: 7.836 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.5924, allocations: 15.98 kB / 0.6671 GB, free: 7.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004856/0.5929, allocations: 1.164 MB / 0.6682 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5929, allocations: 192 / 0.6682 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.5933, allocations: 348.7 kB / 0.6686 GB, free: 6.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.5935, allocations: 148.6 kB / 0.6687 GB, free: 6.086 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.5935, allocations: 8 kB / 0.6687 GB, free: 6.078 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.5938, allocations: 8 kB / 0.6687 GB, free: 6.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.5939, allocations: 24.25 kB / 0.6688 GB, free: 6.047 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.5939, allocations: 27.98 kB / 0.6688 GB, free: 6.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001528/0.5941, allocations: 172.5 kB / 0.6689 GB, free: 5.848 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5941, allocations: 0 / 0.6689 GB, free: 5.848 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001614/0.5957, allocations: 0.5504 MB / 0.6695 GB, free: 5.297 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 1 * 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.00263/0.5983, allocations: 0.8833 MB / 0.6703 GB, free: 4.406 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000942/0.5993, allocations: 367.3 kB / 0.6707 GB, free: 4.051 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5993, allocations: 0 / 0.6707 GB, free: 4.051 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.5997, allocations: 156.1 kB / 0.6708 GB, free: 3.898 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007716/0.6005, allocations: 133.4 kB / 0.671 GB, free: 3.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.6139, allocations: 8.446 MB / 0.6792 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.6143, allocations: 0.7698 MB / 0.68 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000941/0.6152, allocations: 186.8 kB / 0.6802 GB, free: 10.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.6155, allocations: 79.39 kB / 0.6802 GB, free: 10.23 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.6155, allocations: 0 / 0.6802 GB, free: 10.23 MB / 490.7 MB Notification: Performance of Templates: time 0.0258/0.6413, allocations: 16.58 MB / 0.6964 GB, free: 9.699 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches