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.002093/0.002093, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.966/1.966, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001101/0.001101, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2788/0.2788, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.809e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 58.85 MB / 484.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.294, allocations: 377.4 MB / 0.8413 GB, free: 46.28 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.294, allocations: 80.11 kB / 0.8414 GB, free: 46.24 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07663/1.371, allocations: 21.24 MB / 0.8622 GB, free: 28.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.813e-06/1.371, allocations: 0 / 0.8622 GB, free: 28.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.488e-05/1.371, allocations: 0 / 0.8622 GB, free: 28.59 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.001265/1.372, allocations: 0.5649 MB / 0.8627 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.372, allocations: 15.97 kB / 0.8627 GB, free: 27.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/1.373, allocations: 27.67 kB / 0.8628 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/1.373, allocations: 225.1 kB / 0.863 GB, free: 27.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/1.373, allocations: 122.8 kB / 0.8631 GB, free: 27.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/1.373, allocations: 15.81 kB / 0.8631 GB, free: 27.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005741/1.374, allocations: 317.2 kB / 0.8634 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.374, allocations: 0 / 0.8634 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/1.374, allocations: 10.62 kB / 0.8634 GB, free: 27.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/1.374, allocations: 11.98 kB / 0.8634 GB, free: 27.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009998/1.375, allocations: 0.7319 MB / 0.8641 GB, free: 26.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/1.376, allocations: 1.147 MB / 0.8653 GB, free: 25.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/1.377, allocations: 168.1 kB / 0.8654 GB, free: 25.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/1.377, allocations: 91.06 kB / 0.8655 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002899/1.38, allocations: 2.858 MB / 0.8683 GB, free: 22.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/1.38, allocations: 34.38 kB / 0.8683 GB, free: 22.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.475e-06/1.38, allocations: 0 / 0.8683 GB, free: 22.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0008174/1.381, allocations: 209.1 kB / 0.8685 GB, free: 21.92 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/1.381, allocations: 51.41 kB / 0.8686 GB, free: 21.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/1.381, allocations: 186.5 kB / 0.8688 GB, free: 21.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/1.381, allocations: 41.45 kB / 0.8688 GB, free: 21.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/1.381, allocations: 276.5 kB / 0.8691 GB, free: 21.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/1.381, allocations: 54.19 kB / 0.8691 GB, free: 21.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/1.381, allocations: 11.38 kB / 0.8691 GB, free: 21.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.432e-05/1.381, allocations: 325.7 kB / 0.8694 GB, free: 21.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/1.382, allocations: 44.19 kB / 0.8695 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/1.382, allocations: 322.3 kB / 0.8698 GB, free: 20.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/1.382, allocations: 98.14 kB / 0.8699 GB, free: 20.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/1.382, allocations: 7.938 kB / 0.8699 GB, free: 20.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007285/1.383, allocations: 368.5 kB / 0.8702 GB, free: 20.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.383, allocations: 8 kB / 0.8702 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.383, allocations: 8 kB / 0.8703 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/1.383, allocations: 19.95 kB / 0.8703 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/1.384, allocations: 107.1 kB / 0.8704 GB, free: 20.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/1.384, allocations: 15.94 kB / 0.8704 GB, free: 20 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/1.384, allocations: 23.12 kB / 0.8704 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-05/1.384, allocations: 35.81 kB / 0.8704 GB, free: 19.95 MB / 0.4948 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 () * 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.0001242/1.384, allocations: 135.5 kB / 0.8706 GB, free: 19.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/1.384, allocations: 23.81 kB / 0.8706 GB, free: 19.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005262/1.385, allocations: 171.2 kB / 0.8708 GB, free: 19.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/1.385, allocations: 4 kB / 0.8708 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.385, allocations: 3.953 kB / 0.8708 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/1.385, allocations: 3.984 kB / 0.8708 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006873/1.386, allocations: 455.8 kB / 0.8712 GB, free: 19.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.386, allocations: 3.984 kB / 0.8712 GB, free: 19.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/1.386, allocations: 31.91 kB / 0.8712 GB, free: 19.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/1.386, allocations: 7.953 kB / 0.8712 GB, free: 19.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/1.386, allocations: 0 / 0.8712 GB, free: 19.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/1.386, allocations: 7.984 kB / 0.8713 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.386, allocations: 0 / 0.8713 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/1.386, allocations: 269.6 kB / 0.8715 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/1.386, allocations: 112.1 kB / 0.8716 GB, free: 18.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/1.387, allocations: 7.5 kB / 0.8716 GB, free: 18.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/1.387, allocations: 4.094 kB / 0.8716 GB, free: 18.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/1.387, allocations: 23.36 kB / 0.8717 GB, free: 18.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/1.387, allocations: 7.984 kB / 0.8717 GB, free: 18.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001357/1.387, allocations: 151 kB / 0.8718 GB, free: 18.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.1e-07/1.387, allocations: 0 / 0.8718 GB, free: 18.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006688/1.388, allocations: 94.69 kB / 0.8719 GB, free: 18.46 MB / 0.4948 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 () * 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.0003071/1.388, allocations: 179.1 kB / 0.8721 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004049/1.389, allocations: 174 kB / 0.8722 GB, free: 18.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.389, allocations: 3.938 kB / 0.8722 GB, free: 18.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/1.389, allocations: 35.42 kB / 0.8723 GB, free: 18.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/1.389, allocations: 43.16 kB / 0.8723 GB, free: 18.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.408, allocations: 5.757 MB / 0.8779 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/1.408, allocations: 0.7287 MB / 0.8786 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/1.408, allocations: 31.42 kB / 0.8787 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of SimCode: time 1.814e-06/1.408, allocations: 0 / 0.8787 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.007254/1.415, allocations: 3.474 MB / 0.8821 GB, free: 8.676 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