Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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) 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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 55.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2347, allocations: 50.54 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002081/0.2368, allocations: 1.37 MB / 410.6 MB, free: 224 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.2488, allocations: 12.1 MB / 422.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.2488, allocations: 4 kB / 422.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.2489, allocations: 3.938 kB / 422.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002778/0.2517, allocations: 1.046 MB / 423.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.2533, allocations: 0.6295 MB / 424.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.2534, allocations: 71.64 kB / 424.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.2534, allocations: 4 kB / 424.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.195e-05/0.2535, allocations: 23.92 kB / 424.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.985e-05/0.2536, allocations: 39.89 kB / 424.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.2536, allocations: 4 kB / 424.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.2564, allocations: 1.612 MB / 426.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.2565, allocations: 11.92 kB / 426.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.2565, allocations: 31.84 kB / 426.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.2585, allocations: 1.068 MB / 427.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2585, allocations: 0 / 427.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2585, allocations: 4 kB / 427.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2585, allocations: 3.938 kB / 427.3 MB, free: 15.5 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.0007704/0.2593, allocations: 0.538 MB / 427.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.2594, allocations: 8.031 kB / 427.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.2595, allocations: 12.92 kB / 427.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.2596, allocations: 180.3 kB / 428 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.2596, allocations: 4.359 kB / 428 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.2596, allocations: 4.375 kB / 428 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.2598, allocations: 71.52 kB / 428.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.2598, allocations: 0 / 428.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2598, allocations: 0 / 428.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-06/0.2598, allocations: 4 kB / 428.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.26, allocations: 23.92 kB / 428.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.2601, allocations: 178.5 kB / 428.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.2604, allocations: 81.12 kB / 428.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.301e-05/0.2605, allocations: 25.77 kB / 428.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006009/0.2665, allocations: 3.305 MB / 431.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.2665, allocations: 34.5 kB / 431.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2665, allocations: 0 / 431.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002824/0.2668, allocations: 81.52 kB / 431.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.2669, allocations: 81.11 kB / 431.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.267, allocations: 117.8 kB / 432 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.267, allocations: 25.7 kB / 432 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.267, allocations: 88.12 kB / 432.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.2671, allocations: 11.81 kB / 432.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.2671, allocations: 21.7 kB / 432.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.2672, allocations: 314.8 kB / 432.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.304e-05/0.2673, allocations: 15.98 kB / 432.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.717e-05/0.2673, allocations: 25.66 kB / 432.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.2674, allocations: 46.06 kB / 432.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2674, allocations: 0 / 432.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001588/0.2676, allocations: 73.45 kB / 432.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2676, allocations: 4 kB / 432.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2676, allocations: 0 / 432.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.2677, allocations: 4 kB / 432.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.2677, allocations: 15.98 kB / 432.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2677, allocations: 0 / 432.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.204e-05/0.2678, allocations: 7.938 kB / 432.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2678, allocations: 8.062 kB / 432.6 MB, free: 9.418 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 6.862e-05/0.2679, allocations: 113.8 kB / 432.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.2679, allocations: 11.83 kB / 432.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.2682, allocations: 109.4 kB / 432.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2682, allocations: 3.984 kB / 432.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2682, allocations: 4 kB / 432.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2682, allocations: 0 / 432.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.2683, allocations: 169.6 kB / 433 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2683, allocations: 0 / 433 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.2684, allocations: 15.88 kB / 433 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2684, allocations: 8 kB / 433.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.2684, allocations: 0 / 433.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2684, allocations: 3.984 kB / 433.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2684, allocations: 0 / 433.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.2686, allocations: 101.8 kB / 433.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.2687, allocations: 89.03 kB / 433.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.2687, allocations: 0 / 433.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.2688, allocations: 15.98 kB / 433.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.2688, allocations: 4 kB / 433.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.2688, allocations: 3.984 kB / 433.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.185e-05/0.2689, allocations: 87.28 kB / 433.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2689, allocations: 4 kB / 433.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007274/0.2696, allocations: 323.6 kB / 433.7 MB, free: 8.27 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.001008/0.2707, allocations: 0.5773 MB / 434.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.2708, allocations: 35.92 kB / 434.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2708, allocations: 0 / 434.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.292e-05/0.2709, allocations: 19.92 kB / 434.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.2711, allocations: 26.88 kB / 434.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.2715, allocations: 164 kB / 434.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.2717, allocations: 0.6807 MB / 435.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.2719, allocations: 48.25 kB / 435.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.2719, allocations: 19.42 kB / 435.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2719, allocations: 3.938 kB / 435.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of Templates: time 0.01301/0.2849, allocations: 8.985 MB / 444.2 MB, free: 13.64 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches