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.0008066/0.0008067, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008934/0.0008934, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002577/0.0002578, allocations: 8 kB / 308.4 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.0903, allocations: 51.53 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001407/0.09175, allocations: 1.096 MB / 361 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2072/0.299, allocations: 25.03 MB / 386 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.2991, allocations: 0 / 386 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.2993, allocations: 6 kB / 386 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01812/0.3174, allocations: 4.91 MB / 390.9 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009033/0.3183, allocations: 330.8 kB / 391.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3185, allocations: 95.7 kB / 391.4 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.3186, allocations: 2.281 kB / 391.4 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.036e-05/0.3187, allocations: 37.47 kB / 391.4 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.3188, allocations: 38.91 kB / 391.4 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3188, allocations: 7.938 kB / 391.4 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01993/0.3387, allocations: 8.919 MB / 400.4 MB, free: 1.152 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.3389, allocations: 18.94 kB / 400.4 MB, free: 1.137 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.3389, allocations: 58.72 kB / 400.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007175/0.3461, allocations: 2.946 MB / 403.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3462, allocations: 0 / 403.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.3462, allocations: 1.594 kB / 403.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3462, allocations: 0 / 403.4 MB, free: 15.5 MB / 318.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.002865/0.3491, allocations: 0.9011 MB / 404.3 MB, free: 14.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.3491, allocations: 9.156 kB / 404.3 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.3492, allocations: 15.36 kB / 404.3 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.3494, allocations: 195.1 kB / 404.5 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3494, allocations: 7.938 kB / 404.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.3495, allocations: 4 kB / 404.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.3496, allocations: 71.25 kB / 404.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3497, allocations: 4 kB / 404.6 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.3497, allocations: 7.984 kB / 404.6 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.3497, allocations: 4 kB / 404.6 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.3498, allocations: 31.92 kB / 404.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.3501, allocations: 194.4 kB / 404.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.3504, allocations: 101.2 kB / 404.9 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.404e-05/0.3504, allocations: 29.7 kB / 405 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.437e-05/0.3505, allocations: 15.92 kB / 405 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.3506, allocations: 34.56 kB / 405 MB, free: 13.97 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.3506, allocations: 0 / 405 MB, free: 13.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003146/0.3509, allocations: 97.59 kB / 405.1 MB, free: 13.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.3509, allocations: 89.09 kB / 405.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3511, allocations: 133.8 kB / 405.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3511, allocations: 25.7 kB / 405.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.3512, allocations: 84.14 kB / 405.4 MB, free: 13.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.3512, allocations: 23.66 kB / 405.4 MB, free: 13.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.3512, allocations: 9.719 kB / 405.5 MB, free: 13.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3514, allocations: 326.8 kB / 405.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.1e-05/0.3514, allocations: 19.98 kB / 405.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.354e-05/0.3515, allocations: 29.7 kB / 405.8 MB, free: 13.08 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.3516, allocations: 53.64 kB / 405.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3516, allocations: 0 / 405.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001891/0.3518, allocations: 81.56 kB / 406 MB, free: 12.94 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3519, allocations: 4 kB / 406 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3519, allocations: 3.938 kB / 406 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3519, allocations: 4 kB / 406 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.352, allocations: 12.47 kB / 406 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.352, allocations: 0 / 406 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.352, allocations: 4 kB / 406 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3521, allocations: 4 kB / 406 MB, free: 12.91 MB / 318.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.366e-05/0.3521, allocations: 125.6 kB / 406.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.3522, allocations: 4 kB / 406.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.3524, allocations: 109.4 kB / 406.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3524, allocations: 0 / 406.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3525, allocations: 3.984 kB / 406.2 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3525, allocations: 4 kB / 406.2 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.3526, allocations: 174 kB / 406.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.3526, allocations: 4 kB / 406.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.3527, allocations: 11.98 kB / 406.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3527, allocations: 0 / 406.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.3527, allocations: 3.938 kB / 406.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.3527, allocations: 4 kB / 406.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3527, allocations: 3.938 kB / 406.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.3529, allocations: 115.6 kB / 406.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.45e-05/0.3531, allocations: 100.9 kB / 406.6 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3531, allocations: 0 / 406.6 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.3532, allocations: 4 kB / 406.6 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.3532, allocations: 11.98 kB / 406.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.3532, allocations: 4 kB / 406.7 MB, free: 12.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.151e-05/0.3533, allocations: 111.3 kB / 406.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3533, allocations: 0 / 406.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003045/0.3564, allocations: 0.9447 MB / 407.7 MB, free: 11.08 MB / 318.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.005998/0.3624, allocations: 1.337 MB / 409 MB, free: 9.742 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.3627, allocations: 55.89 kB / 409.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3627, allocations: 0 / 409.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.725e-05/0.3628, allocations: 23.92 kB / 409.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3631, allocations: 12.28 kB / 409.1 MB, free: 9.652 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.3636, allocations: 239 kB / 409.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.3639, allocations: 0.6936 MB / 410.1 MB, free: 8.664 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.3639, allocations: 23.36 kB / 410.1 MB, free: 8.641 MB / 318.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3639, allocations: 0 / 410.1 MB, free: 8.641 MB / 318.1 MB Notification: Performance of Templates: time 0.03071/0.3947, allocations: 18.34 MB / 428.4 MB, free: 6.27 MB / 334.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