Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 181.1 kB / 17.41 MB, free: 4.383 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008078/0.0008079, allocations: 81.44 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3145/0.3145, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003766, allocations: 12 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1143, allocations: 58.84 MB / 491.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7315/0.8458, allocations: 377.6 MB / 0.8486 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.8461, allocations: 76.53 kB / 0.8487 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2282/1.074, allocations: 21.16 MB / 0.8694 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.485e-06/1.074, allocations: 0 / 0.8694 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.335e-05/1.074, allocations: 5.938 kB / 0.8694 GB, free: 160.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00103/1.075, allocations: 0.555 MB / 0.8699 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.075, allocations: 10.66 kB / 0.8699 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/1.076, allocations: 41.8 kB / 0.87 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/1.076, allocations: 225 kB / 0.8702 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/1.076, allocations: 125.2 kB / 0.8703 GB, free: 160 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/1.076, allocations: 28.78 kB / 0.8703 GB, free: 160 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/1.076, allocations: 310.5 kB / 0.8706 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/1.076, allocations: 14.25 kB / 0.8706 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/1.076, allocations: 9.938 kB / 0.8706 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/1.077, allocations: 5.75 kB / 0.8706 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006588/1.077, allocations: 0.7357 MB / 0.8714 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009962/1.078, allocations: 1.098 MB / 0.8724 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/1.079, allocations: 171.7 kB / 0.8726 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/1.079, allocations: 87.02 kB / 0.8727 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001764/1.08, allocations: 2.71 MB / 0.8753 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/1.08, allocations: 35.22 kB / 0.8754 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/1.08, allocations: 0 / 0.8754 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0005723/1.081, allocations: 209.4 kB / 0.8756 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/1.081, allocations: 51.41 kB / 0.8756 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/1.081, allocations: 219.4 kB / 0.8758 GB, free: 156 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/1.081, allocations: 27.7 kB / 0.8759 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/1.081, allocations: 220.7 kB / 0.8761 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/1.081, allocations: 53.08 kB / 0.8761 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/1.081, allocations: 8.5 kB / 0.8761 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.129e-05/1.082, allocations: 330 kB / 0.8764 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.23e-05/1.082, allocations: 46.81 kB / 0.8765 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/1.082, allocations: 329.2 kB / 0.8768 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/1.082, allocations: 436.2 kB / 0.8772 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.082, allocations: 2.781 kB / 0.8772 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004877/1.083, allocations: 371.4 kB / 0.8776 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.083, allocations: 8.969 kB / 0.8776 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/1.083, allocations: 11.25 kB / 0.8776 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/1.083, allocations: 14.25 kB / 0.8776 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/1.083, allocations: 109.3 kB / 0.8777 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/1.083, allocations: 21.88 kB / 0.8777 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/1.083, allocations: 34.56 kB / 0.8778 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/1.083, allocations: 34.91 kB / 0.8778 GB, free: 154.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.442e-05/1.083, allocations: 144.1 kB / 0.8779 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/1.083, allocations: 19 kB / 0.8779 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/1.084, allocations: 158.5 kB / 0.8781 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/1.084, allocations: 2.656 kB / 0.8781 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.084, allocations: 3.938 kB / 0.8781 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.084, allocations: 3.188 kB / 0.8781 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/1.084, allocations: 431.2 kB / 0.8785 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.084, allocations: 1.031 kB / 0.8785 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/1.084, allocations: 40.23 kB / 0.8786 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.084, allocations: 1.281 kB / 0.8786 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/1.084, allocations: 1.969 kB / 0.8786 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.084, allocations: 0.9688 kB / 0.8786 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.084, allocations: 2.062 kB / 0.8786 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/1.085, allocations: 224.3 kB / 0.8788 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/1.085, allocations: 112.9 kB / 0.8789 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/1.085, allocations: 5.906 kB / 0.8789 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/1.085, allocations: 8.094 kB / 0.8789 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/1.085, allocations: 12.12 kB / 0.8789 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/1.085, allocations: 9.938 kB / 0.8789 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001014/1.085, allocations: 149.1 kB / 0.8791 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/1.085, allocations: 1.031 kB / 0.8791 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004883/1.086, allocations: 95.97 kB / 0.8792 GB, free: 153.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002573/1.086, allocations: 180.5 kB / 0.8793 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002732/1.086, allocations: 171.5 kB / 0.8795 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.086, allocations: 1.25 kB / 0.8795 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.914e-05/1.086, allocations: 36.58 kB / 0.8795 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/1.087, allocations: 47.14 kB / 0.8796 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.097, allocations: 5.491 MB / 0.8849 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/1.097, allocations: 0.7307 MB / 0.8856 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.466e-05/1.097, allocations: 29.75 kB / 0.8857 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/1.097, allocations: 3.938 kB / 0.8857 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.004789/1.102, allocations: 3.395 MB / 0.889 GB, free: 151.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches