Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2014, allocations: 50.55 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002228/0.2037, allocations: 1.367 MB / 411.3 MB, free: 220 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02687/0.2306, allocations: 23.6 MB / 434.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.2306, allocations: 4 kB / 434.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.796e-05/0.2307, allocations: 7.938 kB / 434.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01255/0.2433, allocations: 5.997 MB / 440.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006654/0.244, allocations: 346.8 kB / 441.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.2441, allocations: 71.7 kB / 441.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.2441, allocations: 7.938 kB / 441.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.542e-05/0.2442, allocations: 39.83 kB / 441.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.629e-05/0.2443, allocations: 43.83 kB / 441.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.2443, allocations: 0 / 441.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01337/0.2577, allocations: 8.886 MB / 450.3 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.2577, allocations: 15.92 kB / 450.3 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.2578, allocations: 35.84 kB / 450.3 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006353/0.2641, allocations: 4.379 MB / 454.7 MB, free: 4.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2642, allocations: 0 / 454.7 MB, free: 4.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2642, allocations: 0 / 454.7 MB, free: 4.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2642, allocations: 3.938 kB / 454.7 MB, free: 4.684 MB / 366.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.001879/0.2661, allocations: 0.9163 MB / 455.6 MB, free: 3.719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2661, allocations: 12.03 kB / 455.7 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.2662, allocations: 4.844 kB / 455.7 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.2663, allocations: 195.8 kB / 455.8 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2663, allocations: 8 kB / 455.9 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.2664, allocations: 0 / 455.9 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.2665, allocations: 75.33 kB / 455.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.2666, allocations: 0 / 455.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.2666, allocations: 4 kB / 455.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2666, allocations: 3.938 kB / 455.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.2667, allocations: 31.97 kB / 456 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.2669, allocations: 190.5 kB / 456.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.2672, allocations: 101.1 kB / 456.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.45e-05/0.2673, allocations: 33.77 kB / 456.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.2674, allocations: 8 kB / 456.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.2674, allocations: 34.55 kB / 456.3 MB, free: 2.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.575e-06/0.2674, allocations: 0 / 456.3 MB, free: 2.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003156/0.2677, allocations: 113.5 kB / 456.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2678, allocations: 77.11 kB / 456.5 MB, free: 2.684 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2679, allocations: 137.8 kB / 456.6 MB, free: 2.539 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.2679, allocations: 29.7 kB / 456.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.268, allocations: 84.14 kB / 456.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.268, allocations: 19.8 kB / 456.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.268, allocations: 17.72 kB / 456.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.2681, allocations: 318.8 kB / 457.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.2682, allocations: 19.98 kB / 457.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.2683, allocations: 29.7 kB / 457.2 MB, free: 2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.2684, allocations: 50.06 kB / 457.2 MB, free: 1.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2684, allocations: 4.125 kB / 457.2 MB, free: 1.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001885/0.2686, allocations: 85.52 kB / 457.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2687, allocations: 10.66 kB / 457.3 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.2687, allocations: 7.938 kB / 457.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2687, allocations: 0 / 457.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.2688, allocations: 11.98 kB / 457.3 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2688, allocations: 4 kB / 457.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.2688, allocations: 0 / 457.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.2688, allocations: 3.938 kB / 457.3 MB, free: 1.816 MB / 366.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 8.043e-05/0.2689, allocations: 125.7 kB / 457.5 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.269, allocations: 7.906 kB / 457.5 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.2692, allocations: 105.5 kB / 457.6 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2692, allocations: 4 kB / 457.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2692, allocations: 0 / 457.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.2693, allocations: 85.09 kB / 457.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.2693, allocations: 0.5625 kB / 457.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.2694, allocations: 11.88 kB / 457.7 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.2694, allocations: 7.984 kB / 457.7 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002468/0.2697, allocations: 248.1 kB / 457.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002612/0.27, allocations: 326 kB / 458.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.519e-05/0.2701, allocations: 27.91 kB / 458.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.712e-05/0.2701, allocations: 115.2 kB / 458.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of Backend: time 2.3e-07/0.2702, allocations: 0 / 458.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005711/0.2759, allocations: 1.708 MB / 460.1 MB, free: 15 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004927/0.2764, allocations: 0.6061 MB / 460.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of Templates: time 0.04354/0.3199, allocations: 35.39 MB / 496.1 MB, free: 10.92 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches