Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 119.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 210.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.411/1.411, allocations: 227.7 MB / 247.9 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 59.91 kB / 359.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2252, allocations: 50.55 MB / 410.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002263/0.2275, allocations: 1.355 MB / 411.6 MB, free: 124 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.2411, allocations: 12.13 MB / 423.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.2412, allocations: 3.938 kB / 423.7 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.2412, allocations: 7.922 kB / 423.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.2439, allocations: 1.038 MB / 424.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.2452, allocations: 0.6295 MB / 425.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2453, allocations: 71.64 kB / 425.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.2454, allocations: 0 / 425.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.23e-05/0.2454, allocations: 31.91 kB / 425.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.427e-05/0.2455, allocations: 31.91 kB / 425.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.2455, allocations: 8 kB / 425.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.2482, allocations: 1.615 MB / 427.1 MB, free: 500 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.2482, allocations: 3.984 kB / 427.1 MB, free: 496 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.2482, allocations: 31.86 kB / 427.2 MB, free: 464 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.2499, allocations: 1.072 MB / 428.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2499, allocations: 0 / 428.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2499, allocations: 0 / 428.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.2499, allocations: 3.984 kB / 428.2 MB, free: 15.38 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008099/0.2507, allocations: 0.556 MB / 428.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2508, allocations: 8.031 kB / 428.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.2509, allocations: 12.89 kB / 428.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.2511, allocations: 176.4 kB / 429 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2511, allocations: 4.375 kB / 429 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.2511, allocations: 384 / 429 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.2513, allocations: 71.52 kB / 429.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2513, allocations: 3.984 kB / 429.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.2513, allocations: 8 kB / 429.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2513, allocations: 0 / 429.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.2514, allocations: 27.91 kB / 429.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.2517, allocations: 178.6 kB / 429.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.2519, allocations: 81.12 kB / 429.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.527e-05/0.252, allocations: 17.78 kB / 429.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006815/0.2588, allocations: 3.309 MB / 432.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.2589, allocations: 38.5 kB / 432.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.2589, allocations: 0 / 432.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003/0.2592, allocations: 81.59 kB / 432.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.2592, allocations: 77.11 kB / 432.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.2593, allocations: 117.8 kB / 433 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.2593, allocations: 33.64 kB / 433 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.2594, allocations: 88.14 kB / 433.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.2594, allocations: 15.84 kB / 433.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.2595, allocations: 21.72 kB / 433.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2596, allocations: 318.8 kB / 433.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.652e-05/0.2596, allocations: 11.94 kB / 433.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.2597, allocations: 25.7 kB / 433.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.2598, allocations: 42.08 kB / 433.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2598, allocations: 0 / 433.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001814/0.26, allocations: 77.48 kB / 433.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.26, allocations: 8 kB / 433.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.26, allocations: 0 / 433.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.26, allocations: 0 / 433.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.2601, allocations: 15.98 kB / 433.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2601, allocations: 0 / 433.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.2602, allocations: 11.94 kB / 433.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2602, allocations: 0 / 433.6 MB, free: 9.262 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.977e-05/0.2603, allocations: 113.8 kB / 433.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.2603, allocations: 15.89 kB / 433.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.2605, allocations: 105.4 kB / 433.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2605, allocations: 0 / 433.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2605, allocations: 3.938 kB / 433.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2606, allocations: 0 / 433.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.2607, allocations: 169.6 kB / 434 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2607, allocations: 4 kB / 434 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.469e-05/0.2608, allocations: 15.92 kB / 434.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2608, allocations: 0 / 434.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2608, allocations: 4 kB / 434.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2608, allocations: 128 / 434.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2608, allocations: 4 kB / 434.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.261, allocations: 109.9 kB / 434.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.2611, allocations: 85.03 kB / 434.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.2611, allocations: 8 kB / 434.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.2611, allocations: 0 / 434.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.2612, allocations: 7.984 kB / 434.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.2612, allocations: 4 kB / 434.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.179e-05/0.2613, allocations: 99.27 kB / 434.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2613, allocations: 0 / 434.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007329/0.262, allocations: 326.8 kB / 434.7 MB, free: 8.105 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.2631, allocations: 0.5726 MB / 435.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.2633, allocations: 39.91 kB / 435.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2633, allocations: 4 kB / 435.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.655e-05/0.2634, allocations: 23.86 kB / 435.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.2636, allocations: 16 kB / 435.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.264, allocations: 167.9 kB / 435.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.2643, allocations: 0.6885 MB / 436.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.2644, allocations: 43.86 kB / 436.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.2644, allocations: 19.44 kB / 436.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2644, allocations: 4 kB / 436.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of Templates: time 0.01472/0.2791, allocations: 9.003 MB / 445.3 MB, free: 13.46 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches