Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.00151/0.00151, allocations: 175.7 kB / 16.76 MB, free: 5.02 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.576/1.576, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007922/0.0007921, allocations: 82.42 kB / 271.3 MB, free: 8.254 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.36/0.36, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004169, allocations: 15.98 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1235, allocations: 58.84 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8827/1.006, allocations: 377.6 MB / 0.8487 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.007, allocations: 76.44 kB / 0.8487 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2719/1.278, allocations: 21.16 MB / 0.8694 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.254e-06/1.279, allocations: 0 / 0.8694 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.57e-05/1.279, allocations: 6.844 kB / 0.8694 GB, free: 161.1 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.00115/1.28, allocations: 0.5588 MB / 0.8699 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.28, allocations: 8.844 kB / 0.8699 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/1.28, allocations: 37.42 kB / 0.87 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/1.28, allocations: 227.4 kB / 0.8702 GB, free: 160.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/1.28, allocations: 122.2 kB / 0.8703 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/1.281, allocations: 25.5 kB / 0.8703 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/1.281, allocations: 318 kB / 0.8706 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/1.281, allocations: 3.938 kB / 0.8706 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/1.281, allocations: 9.656 kB / 0.8707 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/1.281, allocations: 9.359 kB / 0.8707 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007936/1.282, allocations: 0.7443 MB / 0.8714 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/1.283, allocations: 1.1 MB / 0.8725 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/1.284, allocations: 175.4 kB / 0.8726 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/1.284, allocations: 87.19 kB / 0.8727 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00213/1.286, allocations: 2.701 MB / 0.8754 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/1.286, allocations: 36.75 kB / 0.8754 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/1.286, allocations: 0 / 0.8754 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.000612/1.287, allocations: 209.8 kB / 0.8756 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/1.287, allocations: 54.66 kB / 0.8756 GB, free: 156.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/1.287, allocations: 225.8 kB / 0.8759 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/1.287, allocations: 30.73 kB / 0.8759 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/1.287, allocations: 210.1 kB / 0.8761 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/1.287, allocations: 54.2 kB / 0.8761 GB, free: 156 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/1.287, allocations: 10.47 kB / 0.8761 GB, free: 156 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.73e-05/1.287, allocations: 332.1 kB / 0.8765 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/1.287, allocations: 49.14 kB / 0.8765 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/1.287, allocations: 327.2 kB / 0.8768 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/1.288, allocations: 433.4 kB / 0.8772 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.288, allocations: 2.906 kB / 0.8772 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004865/1.288, allocations: 378.6 kB / 0.8776 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.288, allocations: 9.406 kB / 0.8776 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/1.288, allocations: 9.938 kB / 0.8776 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/1.288, allocations: 12.81 kB / 0.8776 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/1.289, allocations: 109 kB / 0.8777 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/1.289, allocations: 26.44 kB / 0.8778 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/1.289, allocations: 20.97 kB / 0.8778 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/1.289, allocations: 33.89 kB / 0.8778 GB, free: 154.8 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 0.0001121/1.289, allocations: 151.5 kB / 0.878 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/1.289, allocations: 18.25 kB / 0.878 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/1.289, allocations: 142.2 kB / 0.8781 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.289, allocations: 6.219 kB / 0.8781 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.289, allocations: 7.875 kB / 0.8781 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.289, allocations: 5.062 kB / 0.8781 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/1.29, allocations: 432.8 kB / 0.8785 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.29, allocations: 0.9062 kB / 0.8785 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/1.29, allocations: 36.97 kB / 0.8786 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/1.29, allocations: 5.422 kB / 0.8786 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/1.29, allocations: 5.656 kB / 0.8786 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.29, allocations: 5.062 kB / 0.8786 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.29, allocations: 1.188 kB / 0.8786 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/1.29, allocations: 227.5 kB / 0.8788 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/1.291, allocations: 108.2 kB / 0.8789 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/1.291, allocations: 2 kB / 0.8789 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/1.291, allocations: 16.36 kB / 0.8789 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/1.291, allocations: 8.156 kB / 0.8789 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/1.291, allocations: 8.922 kB / 0.8789 GB, free: 154 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000106/1.291, allocations: 149.8 kB / 0.8791 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/1.291, allocations: 1.375 kB / 0.8791 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005381/1.291, allocations: 97.03 kB / 0.8792 GB, free: 153.9 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.0002726/1.292, allocations: 175.8 kB / 0.8794 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003037/1.292, allocations: 178.8 kB / 0.8795 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.292, allocations: 0 / 0.8795 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.442e-05/1.292, allocations: 35.22 kB / 0.8796 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/1.293, allocations: 51.94 kB / 0.8796 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/1.303, allocations: 5.451 MB / 0.8849 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/1.303, allocations: 0.731 MB / 0.8856 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000315/1.303, allocations: 54.36 kB / 0.8857 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/1.303, allocations: 38.31 kB / 0.8857 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of SimCode: time 3.21e-07/1.303, allocations: 0 / 0.8857 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.006428/1.31, allocations: 3.429 MB / 0.8891 GB, free: 152 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches