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.0009903/0.0009904, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2017, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002024/0.2038, allocations: 1.363 MB / 411.3 MB, free: 224 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.2156, allocations: 12.11 MB / 423.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.2156, allocations: 0 / 423.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.2157, allocations: 3.938 kB / 423.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002414/0.2181, allocations: 1.043 MB / 424.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.2194, allocations: 0.6334 MB / 425.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.788e-05/0.2195, allocations: 59.66 kB / 425.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.282e-05/0.2196, allocations: 8 kB / 425.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.46e-05/0.2196, allocations: 23.91 kB / 425.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.2197, allocations: 43.89 kB / 425.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.2197, allocations: 4 kB / 425.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.2222, allocations: 1.608 MB / 426.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.2223, allocations: 11.98 kB / 426.8 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.2223, allocations: 27.86 kB / 426.9 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.2239, allocations: 1.076 MB / 427.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2239, allocations: 0 / 427.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2239, allocations: 0 / 427.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.2239, allocations: 3.938 kB / 427.9 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.0006475/0.2246, allocations: 0.538 MB / 428.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2246, allocations: 8.031 kB / 428.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.2247, allocations: 4.938 kB / 428.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.2249, allocations: 184.3 kB / 428.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.2249, allocations: 384 / 428.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.2249, allocations: 8.359 kB / 428.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.2251, allocations: 67.52 kB / 428.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.2251, allocations: 0 / 428.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2251, allocations: 7.922 kB / 428.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2251, allocations: 4 kB / 428.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.2252, allocations: 23.92 kB / 428.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.2254, allocations: 178.5 kB / 429 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.2257, allocations: 81.12 kB / 429 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.76e-05/0.2258, allocations: 25.77 kB / 429.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006655/0.2324, allocations: 3.297 MB / 432.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.2325, allocations: 42.5 kB / 432.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.2325, allocations: 0 / 432.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002933/0.2328, allocations: 85.5 kB / 432.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.2328, allocations: 77.11 kB / 432.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.2329, allocations: 117.8 kB / 432.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.233, allocations: 29.7 kB / 432.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/0.233, allocations: 80.14 kB / 432.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.233, allocations: 23.78 kB / 432.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.2331, allocations: 21.72 kB / 432.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.2332, allocations: 318.8 kB / 433.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.654e-05/0.2332, allocations: 8 kB / 433.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.2333, allocations: 29.64 kB / 433.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.2334, allocations: 42.06 kB / 433.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2335, allocations: 0 / 433.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000168/0.2336, allocations: 73.52 kB / 433.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2337, allocations: 11.94 kB / 433.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2337, allocations: 0 / 433.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2337, allocations: 0 / 433.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.056e-05/0.2338, allocations: 15.98 kB / 433.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2338, allocations: 0 / 433.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.2338, allocations: 3.938 kB / 433.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.2338, allocations: 8 kB / 433.3 MB, free: 9.414 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.317e-05/0.2339, allocations: 113.8 kB / 433.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.2339, allocations: 11.84 kB / 433.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.2342, allocations: 105.4 kB / 433.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2342, allocations: 0 / 433.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2342, allocations: 0 / 433.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.2343, allocations: 89.09 kB / 433.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.2343, allocations: 7.984 kB / 433.6 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.2344, allocations: 4 kB / 433.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.2344, allocations: 7.938 kB / 433.7 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002329/0.2347, allocations: 232.1 kB / 433.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002418/0.2349, allocations: 314 kB / 434.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.924e-05/0.235, allocations: 24.2 kB / 434.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.242e-05/0.2351, allocations: 91.27 kB / 434.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of Backend: time 3.11e-07/0.2351, allocations: 3.938 kB / 434.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.2366, allocations: 0.6062 MB / 434.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of SimCode: time 0.0004411/0.2371, allocations: 0.6098 MB / 435.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of Templates: time 0.01342/0.2505, allocations: 9.925 MB / 445.4 MB, free: 13.17 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/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