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.001527/0.001527, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001835/0.001835, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 59.73 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08431/0.08545, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002258/0.08774, allocations: 1.366 MB / 360.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1447/0.2324, allocations: 12.1 MB / 372.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.2325, allocations: 0 / 372.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.2326, allocations: 5.438 kB / 372.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002829/0.2354, allocations: 1.041 MB / 373.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.2369, allocations: 0.6348 MB / 374 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.237, allocations: 62.36 kB / 374.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.2371, allocations: 3.516 kB / 374.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.2371, allocations: 27.34 kB / 374.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.2372, allocations: 40.16 kB / 374.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.2372, allocations: 2.031 kB / 374.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.2402, allocations: 1.609 MB / 375.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.2402, allocations: 17.33 kB / 375.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.2403, allocations: 21.94 kB / 375.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.2419, allocations: 1.068 MB / 376.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2419, allocations: 1.219 kB / 376.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2419, allocations: 0 / 376.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.2419, allocations: 1.375 kB / 376.9 MB, free: 9.664 MB / 302.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.0006374/0.2425, allocations: 0.5446 MB / 377.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2426, allocations: 9.625 kB / 377.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.2427, allocations: 10.28 kB / 377.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2428, allocations: 181.7 kB / 377.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2429, allocations: 2.5 kB / 377.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.2429, allocations: 5.375 kB / 377.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.243, allocations: 68.11 kB / 377.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.243, allocations: 1.969 kB / 377.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2431, allocations: 1.375 kB / 377.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2431, allocations: 2.25 kB / 377.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.2432, allocations: 24.89 kB / 377.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.2433, allocations: 181.4 kB / 377.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.2436, allocations: 76.09 kB / 378 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.2437, allocations: 26.56 kB / 378 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006197/0.2499, allocations: 3.302 MB / 381.3 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.2499, allocations: 40.02 kB / 381.3 MB, free: 6.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.2499, allocations: 1.312 kB / 381.4 MB, free: 6.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003219/0.2503, allocations: 88.61 kB / 381.4 MB, free: 6.281 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.2503, allocations: 78.91 kB / 381.5 MB, free: 6.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.848e-05/0.2504, allocations: 114.5 kB / 381.6 MB, free: 6.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.2504, allocations: 31.22 kB / 381.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/0.2504, allocations: 82.19 kB / 381.7 MB, free: 5.977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.2505, allocations: 14.91 kB / 381.8 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.2505, allocations: 19.25 kB / 381.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.139e-05/0.2506, allocations: 320.9 kB / 382.1 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.278e-05/0.2506, allocations: 8.75 kB / 382.1 MB, free: 5.637 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.2507, allocations: 29.3 kB / 382.1 MB, free: 5.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.2508, allocations: 42.28 kB / 382.2 MB, free: 5.605 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2508, allocations: 0 / 382.2 MB, free: 5.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001566/0.251, allocations: 71 kB / 382.2 MB, free: 5.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.251, allocations: 14.52 kB / 382.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.251, allocations: 0 / 382.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.251, allocations: 3.469 kB / 382.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.2511, allocations: 13.95 kB / 382.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2511, allocations: 1.891 kB / 382.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.287e-05/0.2512, allocations: 5.797 kB / 382.3 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.2512, allocations: 6.531 kB / 382.3 MB, free: 5.559 MB / 302.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 5.007e-05/0.2512, allocations: 113.5 kB / 382.4 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.2513, allocations: 15.39 kB / 382.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.2515, allocations: 103.2 kB / 382.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2515, allocations: 1.156 kB / 382.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2515, allocations: 1.188 kB / 382.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.2516, allocations: 0.7969 kB / 382.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.2517, allocations: 170.2 kB / 382.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2517, allocations: 4 kB / 382.7 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.445e-05/0.2517, allocations: 12.94 kB / 382.7 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.2518, allocations: 5.438 kB / 382.7 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.2518, allocations: 5.562 kB / 382.7 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2518, allocations: 0 / 382.7 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2518, allocations: 2.328 kB / 382.7 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.252, allocations: 101.7 kB / 382.8 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.252, allocations: 89.81 kB / 382.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.2521, allocations: 6.094 kB / 382.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.2521, allocations: 9.375 kB / 382.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.2522, allocations: 7.672 kB / 382.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.2522, allocations: 6.688 kB / 382.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.469e-05/0.2523, allocations: 95.14 kB / 383 MB, free: 4.945 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2523, allocations: 0 / 383 MB, free: 4.945 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008656/0.2531, allocations: 318.6 kB / 383.3 MB, free: 4.883 MB / 302.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.001353/0.2545, allocations: 0.5752 MB / 383.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.2547, allocations: 40.08 kB / 383.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2547, allocations: 0 / 383.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.547e-05/0.2548, allocations: 24.98 kB / 384 MB, free: 4.711 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.255, allocations: 19.45 kB / 384 MB, free: 4.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.2554, allocations: 166.5 kB / 384.1 MB, free: 4.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.2555, allocations: 0.6865 MB / 384.8 MB, free: 3.879 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.2556, allocations: 48.88 kB / 384.9 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.2557, allocations: 19.94 kB / 384.9 MB, free: 3.863 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2557, allocations: 0 / 384.9 MB, free: 3.863 MB / 302.1 MB Notification: Performance of Templates: time 0.01357/0.2693, allocations: 8.982 MB / 393.9 MB, free: 452 kB / 302.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 -s gbode -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/jenkins1/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/jenkins1/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