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.001548/0.001548, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 205.8 kB / 18.79 MB, free: 4.102 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.451/1.451, allocations: 230.4 MB / 250 MB, free: 9.043 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.001853/0.001853, allocations: 68.06 kB / 367.3 MB, free: 7.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2333, allocations: 53.31 MB / 420.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002334/0.2356, allocations: 1.378 MB / 422 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.2493, allocations: 12.14 MB / 434.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.2494, allocations: 3.938 kB / 434.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.2494, allocations: 3.984 kB / 434.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.2521, allocations: 1.042 MB / 435.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.2535, allocations: 0.6362 MB / 435.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.2536, allocations: 59.7 kB / 435.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.2537, allocations: 11.98 kB / 435.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.2537, allocations: 23.86 kB / 435.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.923e-05/0.2538, allocations: 35.91 kB / 436 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.2538, allocations: 4 kB / 436 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.2567, allocations: 1.635 MB / 437.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.2567, allocations: 7.984 kB / 437.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.2567, allocations: 23.88 kB / 437.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.2584, allocations: 1.08 MB / 438.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2584, allocations: 4 kB / 438.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2584, allocations: 0 / 438.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.2584, allocations: 0 / 438.7 MB, free: 6.188 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.0007373/0.2591, allocations: 0.556 MB / 439.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2592, allocations: 8.031 kB / 439.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.2593, allocations: 16.88 kB / 439.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.2595, allocations: 176.3 kB / 439.5 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.2595, allocations: 384 / 439.5 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.2595, allocations: 4.375 kB / 439.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.2597, allocations: 71.52 kB / 439.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2597, allocations: 0 / 439.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2597, allocations: 0 / 439.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.2597, allocations: 4 kB / 439.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.2598, allocations: 23.92 kB / 439.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.26, allocations: 174.6 kB / 439.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.2603, allocations: 81.19 kB / 439.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.037e-05/0.2604, allocations: 21.7 kB / 439.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006841/0.2672, allocations: 3.309 MB / 443.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.2672, allocations: 46.48 kB / 443.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.2672, allocations: 0 / 443.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003137/0.2676, allocations: 81.98 kB / 443.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.2676, allocations: 81.11 kB / 443.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2677, allocations: 117.8 kB / 443.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2677, allocations: 25.7 kB / 443.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.2678, allocations: 84.12 kB / 443.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.2678, allocations: 19.86 kB / 443.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.2679, allocations: 17.72 kB / 443.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.268, allocations: 322.8 kB / 443.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-05/0.268, allocations: 8 kB / 444 MB, free: 284 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.496e-05/0.2681, allocations: 33.64 kB / 444 MB, free: 244 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.2682, allocations: 41.69 kB / 444 MB, free: 196 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2682, allocations: 0 / 444 MB, free: 196 kB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001742/0.2684, allocations: 73.5 kB / 444.1 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2684, allocations: 4 kB / 444.1 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2684, allocations: 4 kB / 444.1 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2684, allocations: 4 kB / 444.1 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.2685, allocations: 11.98 kB / 444.1 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2685, allocations: 0 / 444.1 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.2686, allocations: 7.938 kB / 444.1 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.2686, allocations: 4 kB / 444.1 MB, free: 80 kB / 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 9.712e-05/0.2687, allocations: 109.8 kB / 444.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.2687, allocations: 11.89 kB / 444.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.269, allocations: 105.4 kB / 444.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.269, allocations: 4 kB / 444.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.269, allocations: 3.938 kB / 444.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.269, allocations: 3.984 kB / 444.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.2691, allocations: 169.6 kB / 444.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2691, allocations: 0 / 444.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.2692, allocations: 23.88 kB / 444.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2692, allocations: 0 / 444.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2692, allocations: 0 / 444.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2692, allocations: 0 / 444.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2692, allocations: 7.984 kB / 444.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.2694, allocations: 97.88 kB / 444.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.075e-05/0.2695, allocations: 89.03 kB / 444.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.2695, allocations: 4.188 kB / 444.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.2696, allocations: 15.98 kB / 444.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.2696, allocations: 4 kB / 444.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.2696, allocations: 0 / 444.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.165e-05/0.2697, allocations: 95.27 kB / 444.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2697, allocations: 0 / 444.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007787/0.2705, allocations: 326.8 kB / 445.2 MB, free: 14.93 MB / 366.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.001123/0.2716, allocations: 0.5765 MB / 445.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.2718, allocations: 35.92 kB / 445.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2718, allocations: 0 / 445.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.89e-05/0.2718, allocations: 19.92 kB / 445.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.272, allocations: 22.73 kB / 445.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.2724, allocations: 176.3 kB / 446 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.2727, allocations: 0.6807 MB / 446.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.2728, allocations: 51.86 kB / 446.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.2729, allocations: 19.42 kB / 446.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2729, allocations: 0 / 446.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Templates: time 0.01473/0.2876, allocations: 8.994 MB / 455.8 MB, free: 4.285 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 -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/jenkins/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/jenkins/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