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.001158/0.001158, allocations: 184.8 kB / 15.76 MB, free: 6.367 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.745/1.745, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009769/0.000977, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.2056/0.2056, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 58.86 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.186, allocations: 377.5 MB / 0.8474 GB, free: 41.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/1.186, allocations: 69.22 kB / 0.8475 GB, free: 41.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05604/1.242, allocations: 21.29 MB / 0.8683 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.196e-06/1.242, allocations: 0 / 0.8683 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.612e-05/1.243, allocations: 4 kB / 0.8683 GB, free: 24.21 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.001151/1.244, allocations: 0.5638 MB / 0.8688 GB, free: 23.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/1.244, allocations: 8.031 kB / 0.8688 GB, free: 23.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/1.244, allocations: 31.67 kB / 0.8689 GB, free: 23.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/1.244, allocations: 232.4 kB / 0.8691 GB, free: 23.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/1.244, allocations: 123.1 kB / 0.8692 GB, free: 23.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/1.244, allocations: 18.44 kB / 0.8692 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/1.245, allocations: 317.6 kB / 0.8695 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/1.245, allocations: 4 kB / 0.8695 GB, free: 22.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/1.245, allocations: 15.05 kB / 0.8695 GB, free: 22.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/1.245, allocations: 7.984 kB / 0.8695 GB, free: 22.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/1.246, allocations: 0.7337 MB / 0.8703 GB, free: 22.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/1.247, allocations: 1.151 MB / 0.8714 GB, free: 21.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/1.248, allocations: 165.6 kB / 0.8715 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002295/1.25, allocations: 2.643 MB / 0.8741 GB, free: 18.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/1.25, allocations: 42.12 kB / 0.8742 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/1.25, allocations: 0 / 0.8742 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0007484/1.251, allocations: 230.9 kB / 0.8744 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/1.251, allocations: 55.34 kB / 0.8744 GB, free: 17.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/1.251, allocations: 188.6 kB / 0.8746 GB, free: 17.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/1.251, allocations: 25.7 kB / 0.8746 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/1.251, allocations: 209.9 kB / 0.8748 GB, free: 17.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/1.251, allocations: 62.81 kB / 0.8749 GB, free: 17.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/1.251, allocations: 11.62 kB / 0.8749 GB, free: 17.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.251, allocations: 334.3 kB / 0.8752 GB, free: 16.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/1.251, allocations: 44.41 kB / 0.8753 GB, free: 16.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/1.252, allocations: 319.3 kB / 0.8756 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/1.252, allocations: 101.9 kB / 0.8757 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/1.252, allocations: 4 kB / 0.8757 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000442/1.252, allocations: 365.3 kB / 0.876 GB, free: 16.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/1.252, allocations: 11.98 kB / 0.876 GB, free: 16.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.252, allocations: 12.08 kB / 0.876 GB, free: 16.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.252, allocations: 12 kB / 0.8761 GB, free: 16.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/1.253, allocations: 111.5 kB / 0.8762 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/1.253, allocations: 23.91 kB / 0.8762 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/1.253, allocations: 27.81 kB / 0.8762 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/1.253, allocations: 31.69 kB / 0.8762 GB, free: 15.89 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 () * 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.0001294/1.253, allocations: 153.4 kB / 0.8764 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/1.253, allocations: 23.72 kB / 0.8764 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/1.253, allocations: 176.2 kB / 0.8766 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/1.253, allocations: 4 kB / 0.8766 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.253, allocations: 3.953 kB / 0.8766 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.254, allocations: 0 / 0.8766 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/1.254, allocations: 453.2 kB / 0.877 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.254, allocations: 3.984 kB / 0.877 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/1.254, allocations: 31.92 kB / 0.8771 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/1.254, allocations: 3.953 kB / 0.8771 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/1.254, allocations: 7.75 kB / 0.8771 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.254, allocations: 3.984 kB / 0.8771 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.254, allocations: 0 / 0.8771 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/1.254, allocations: 273.5 kB / 0.8773 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/1.255, allocations: 104.6 kB / 0.8774 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/1.255, allocations: 7.688 kB / 0.8774 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/1.255, allocations: 11.98 kB / 0.8775 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/1.255, allocations: 15.67 kB / 0.8775 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/1.255, allocations: 4 kB / 0.8775 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001125/1.255, allocations: 147.8 kB / 0.8776 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.553e-06/1.255, allocations: 0 / 0.8776 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005719/1.256, allocations: 108.2 kB / 0.8777 GB, free: 14.39 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 () * 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.0003327/1.256, allocations: 172.6 kB / 0.8779 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003301/1.256, allocations: 185.1 kB / 0.8781 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.256, allocations: 0 / 0.8781 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/1.256, allocations: 44.17 kB / 0.8781 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/1.257, allocations: 42 kB / 0.8781 GB, free: 14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/1.269, allocations: 6.054 MB / 0.8841 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/1.269, allocations: 0.7326 MB / 0.8848 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003181/1.269, allocations: 50.83 kB / 0.8848 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/1.27, allocations: 31.42 kB / 0.8848 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of SimCode: time 1.413e-06/1.27, allocations: 0 / 0.8848 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of Templates: time 0.006635/1.276, allocations: 3.349 MB / 0.8881 GB, free: 4.383 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/jenkins/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