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.001462/0.001462, allocations: 184.6 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001149/0.001149, allocations: 93.88 kB / 270.9 MB, free: 8.387 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.4987/0.4987, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.0004558, allocations: 12 kB / 431.4 MB, free: 6.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1261, allocations: 58.84 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.297, allocations: 377.5 MB / 0.8474 GB, free: 11.29 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.297, allocations: 77.33 kB / 0.8475 GB, free: 11.24 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 0.4205/1.718, allocations: 21.28 MB / 0.8682 GB, free: 158 MB / 0.4949 GB Notification: Performance of FrontEnd: time 3.046e-06/1.718, allocations: 0 / 0.8682 GB, free: 158 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 1.523e-05/1.718, allocations: 2.75 kB / 0.8682 GB, free: 158 MB / 0.4949 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.001459/1.719, allocations: 0.5686 MB / 0.8688 GB, free: 157.5 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.719, allocations: 13.56 kB / 0.8688 GB, free: 157.5 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/1.72, allocations: 32.19 kB / 0.8688 GB, free: 157.5 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/1.72, allocations: 231.8 kB / 0.8691 GB, free: 157.3 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/1.72, allocations: 121.7 kB / 0.8692 GB, free: 157.2 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/1.72, allocations: 20.66 kB / 0.8692 GB, free: 157.2 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/1.721, allocations: 314.7 kB / 0.8695 GB, free: 157.1 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/1.721, allocations: 4 kB / 0.8695 GB, free: 157.1 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/1.721, allocations: 14.55 kB / 0.8695 GB, free: 157.1 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/1.721, allocations: 9.969 kB / 0.8695 GB, free: 157.1 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/1.722, allocations: 0.738 MB / 0.8702 GB, free: 157.1 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/1.724, allocations: 1.143 MB / 0.8714 GB, free: 156.3 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/1.725, allocations: 178.9 kB / 0.8715 GB, free: 156.3 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002927/1.727, allocations: 2.643 MB / 0.8741 GB, free: 153.6 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/1.728, allocations: 41 kB / 0.8741 GB, free: 153.6 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=15): time 2.945e-06/1.728, allocations: 0 / 0.8741 GB, free: 153.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=16): time 0.0009544/1.729, allocations: 230 kB / 0.8744 GB, free: 153.5 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/1.729, allocations: 58.11 kB / 0.8744 GB, free: 153.4 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/1.729, allocations: 182.4 kB / 0.8746 GB, free: 153.3 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/1.729, allocations: 28.52 kB / 0.8746 GB, free: 153.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/1.729, allocations: 275.5 kB / 0.8749 GB, free: 153.1 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/1.729, allocations: 61.12 kB / 0.8749 GB, free: 153 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/1.729, allocations: 13.62 kB / 0.875 GB, free: 153 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.03e-05/1.729, allocations: 324 kB / 0.8753 GB, free: 152.7 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/1.729, allocations: 53.44 kB / 0.8753 GB, free: 152.7 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/1.73, allocations: 316.7 kB / 0.8756 GB, free: 152.4 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/1.73, allocations: 106.3 kB / 0.8757 GB, free: 152.3 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.73, allocations: 2.625 kB / 0.8757 GB, free: 152.3 MB / 0.4949 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008261/1.731, allocations: 374 kB / 0.8761 GB, free: 152.2 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/1.731, allocations: 8.688 kB / 0.8761 GB, free: 152.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.731, allocations: 8.594 kB / 0.8761 GB, free: 152.2 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/1.731, allocations: 15.72 kB / 0.8761 GB, free: 152.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/1.731, allocations: 109.1 kB / 0.8762 GB, free: 152.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.701e-05/1.732, allocations: 20.56 kB / 0.8762 GB, free: 152.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/1.732, allocations: 26.42 kB / 0.8763 GB, free: 152.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/1.732, allocations: 32.94 kB / 0.8763 GB, free: 152.2 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 0.0002115/1.732, allocations: 152.6 kB / 0.8764 GB, free: 152.1 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/1.732, allocations: 19.16 kB / 0.8765 GB, free: 152.1 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005649/1.733, allocations: 189.6 kB / 0.8766 GB, free: 152 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/1.733, allocations: 3.062 kB / 0.8766 GB, free: 152 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.733, allocations: 0 / 0.8766 GB, free: 152 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.733, allocations: 3.938 kB / 0.8766 GB, free: 152 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008087/1.734, allocations: 461.5 kB / 0.8771 GB, free: 151.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.734, allocations: 3 kB / 0.8771 GB, free: 151.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/1.734, allocations: 32.86 kB / 0.8771 GB, free: 151.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/1.734, allocations: 2.969 kB / 0.8771 GB, free: 151.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/1.734, allocations: 0 / 0.8771 GB, free: 151.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/1.734, allocations: 6.797 kB / 0.8771 GB, free: 151.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.734, allocations: 0 / 0.8771 GB, free: 151.6 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/1.734, allocations: 268.5 kB / 0.8774 GB, free: 151.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/1.735, allocations: 115.7 kB / 0.8775 GB, free: 151.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/1.735, allocations: 3.438 kB / 0.8775 GB, free: 151.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/1.735, allocations: 12.22 kB / 0.8775 GB, free: 151.3 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/1.735, allocations: 9.844 kB / 0.8775 GB, free: 151.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/1.735, allocations: 11.33 kB / 0.8775 GB, free: 151.3 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0001538/1.735, allocations: 143.6 kB / 0.8777 GB, free: 151.2 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.61e-07/1.735, allocations: 0 / 0.8777 GB, free: 151.2 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0007784/1.736, allocations: 97.22 kB / 0.8778 GB, free: 151.2 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.0003417/1.736, allocations: 178.1 kB / 0.8779 GB, free: 151.1 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0004599/1.737, allocations: 182.6 kB / 0.8781 GB, free: 151.1 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.737, allocations: 1.156 kB / 0.8781 GB, free: 151.1 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 8.494e-05/1.737, allocations: 33.91 kB / 0.8781 GB, free: 151.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/1.738, allocations: 49.88 kB / 0.8782 GB, free: 151.1 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/1.758, allocations: 6.08 MB / 0.8841 GB, free: 150.4 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/1.758, allocations: 0.7351 MB / 0.8848 GB, free: 149.7 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/1.758, allocations: 37.14 kB / 0.8849 GB, free: 149.7 MB / 0.4949 GB Notification: Performance of SimCode: time 1.473e-06/1.758, allocations: 0 / 0.8849 GB, free: 149.7 MB / 0.4949 GB Notification: Performance of Templates: time 0.008606/1.767, allocations: 3.468 MB / 0.8883 GB, free: 149.3 MB / 0.4949 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