Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 198.4 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 226.5 MB / 244.1 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008129/0.0008128, allocations: 97.31 kB / 296.1 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3077/0.3077, allocations: 44.83 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003265, allocations: 8 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3184, allocations: 62.96 MB / 0.5165 GB, free: 37.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5868/0.9053, allocations: 379.7 MB / 0.8873 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.9055, allocations: 77.7 kB / 0.8874 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2628/1.168, allocations: 21.78 MB / 0.9086 GB, free: 202.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.765e-06/1.168, allocations: 0.5625 kB / 0.9086 GB, free: 202.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.755e-05/1.168, allocations: 2.594 kB / 0.9086 GB, free: 202.8 MB / 0.5417 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.001223/1.17, allocations: 0.5784 MB / 0.9092 GB, free: 202.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.17, allocations: 8.25 kB / 0.9092 GB, free: 202.3 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/1.17, allocations: 28.69 kB / 0.9092 GB, free: 202.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/1.17, allocations: 230.7 kB / 0.9095 GB, free: 202.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/1.17, allocations: 123.8 kB / 0.9096 GB, free: 201.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/1.17, allocations: 20.12 kB / 0.9096 GB, free: 201.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/1.171, allocations: 321.2 kB / 0.9099 GB, free: 201.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.171, allocations: 11.31 kB / 0.9099 GB, free: 201.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/1.171, allocations: 6.625 kB / 0.9099 GB, free: 201.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/1.171, allocations: 6.141 kB / 0.9099 GB, free: 201.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000903/1.172, allocations: 0.7437 MB / 0.9107 GB, free: 201.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/1.173, allocations: 1.095 MB / 0.9117 GB, free: 200.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/1.174, allocations: 166.9 kB / 0.9119 GB, free: 200.6 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/1.174, allocations: 86.8 kB / 0.912 GB, free: 200.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001966/1.176, allocations: 2.706 MB / 0.9146 GB, free: 197.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/1.176, allocations: 33.22 kB / 0.9146 GB, free: 197.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/1.176, allocations: 0 / 0.9146 GB, free: 197.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.0006702/1.176, allocations: 221.7 kB / 0.9148 GB, free: 197.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/1.176, allocations: 51.41 kB / 0.9149 GB, free: 197.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/1.177, allocations: 218 kB / 0.9151 GB, free: 197.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/1.177, allocations: 32.61 kB / 0.9151 GB, free: 197.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.867e-05/1.177, allocations: 216 kB / 0.9153 GB, free: 197.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/1.177, allocations: 49.89 kB / 0.9154 GB, free: 197.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/1.177, allocations: 13.3 kB / 0.9154 GB, free: 197.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.855e-05/1.177, allocations: 329.2 kB / 0.9157 GB, free: 196.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.845e-05/1.177, allocations: 50.28 kB / 0.9158 GB, free: 196.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/1.177, allocations: 316.3 kB / 0.9161 GB, free: 196.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/1.177, allocations: 413.6 kB / 0.9165 GB, free: 195.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.177, allocations: 6.625 kB / 0.9165 GB, free: 195.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005429/1.178, allocations: 369.5 kB / 0.9168 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.178, allocations: 14.34 kB / 0.9168 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/1.178, allocations: 9.094 kB / 0.9168 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/1.178, allocations: 16.78 kB / 0.9169 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/1.178, allocations: 107.6 kB / 0.917 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-05/1.179, allocations: 27.81 kB / 0.917 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/1.179, allocations: 23.53 kB / 0.917 GB, free: 195.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/1.179, allocations: 27.38 kB / 0.917 GB, free: 195.7 MB / 0.5417 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.0001144/1.179, allocations: 151.2 kB / 0.9172 GB, free: 195.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/1.179, allocations: 26.48 kB / 0.9172 GB, free: 195.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/1.179, allocations: 150.2 kB / 0.9173 GB, free: 195.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/1.179, allocations: 1.125 kB / 0.9174 GB, free: 195.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.179, allocations: 5.375 kB / 0.9174 GB, free: 195.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.179, allocations: 0 / 0.9174 GB, free: 195.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/1.18, allocations: 439.4 kB / 0.9178 GB, free: 195.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.18, allocations: 1.406 kB / 0.9178 GB, free: 195.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/1.18, allocations: 29.97 kB / 0.9178 GB, free: 195.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/1.18, allocations: 1.406 kB / 0.9178 GB, free: 195.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/1.18, allocations: 8.906 kB / 0.9178 GB, free: 195.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.18, allocations: 9.344 kB / 0.9178 GB, free: 195.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.18, allocations: 1.688 kB / 0.9178 GB, free: 195.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/1.18, allocations: 225.5 kB / 0.918 GB, free: 194.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.823e-05/1.18, allocations: 109.7 kB / 0.9181 GB, free: 194.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/1.18, allocations: 2.562 kB / 0.9181 GB, free: 194.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/1.181, allocations: 13.28 kB / 0.9182 GB, free: 194.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/1.181, allocations: 7.984 kB / 0.9182 GB, free: 194.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/1.181, allocations: 9.281 kB / 0.9182 GB, free: 194.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001176/1.181, allocations: 154.9 kB / 0.9183 GB, free: 194.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/1.181, allocations: 0 / 0.9183 GB, free: 194.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006231/1.181, allocations: 105.7 kB / 0.9184 GB, free: 194.7 MB / 0.5417 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.0003313/1.182, allocations: 177.6 kB / 0.9186 GB, free: 194.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000339/1.182, allocations: 174.8 kB / 0.9188 GB, free: 194.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.182, allocations: 0 / 0.9188 GB, free: 194.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.461e-05/1.182, allocations: 45.33 kB / 0.9188 GB, free: 194.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/1.183, allocations: 43.41 kB / 0.9188 GB, free: 194.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/1.195, allocations: 5.617 MB / 0.9243 GB, free: 192.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/1.195, allocations: 0.731 MB / 0.925 GB, free: 191.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/1.195, allocations: 31.75 kB / 0.9251 GB, free: 191.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.072e-06/1.195, allocations: 0 / 0.9251 GB, free: 191.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.007374/1.203, allocations: 3.45 MB / 0.9284 GB, free: 190.5 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches