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.001453/0.001453, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001763/0.001763, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 59.89 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3237, allocations: 50.54 MB / 409.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.004042/0.3278, allocations: 1.37 MB / 411.3 MB, free: 132 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02398/0.3518, allocations: 12.1 MB / 423.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.785e-05/0.3519, allocations: 4 kB / 423.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.783e-05/0.3521, allocations: 11.92 kB / 423.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005884/0.358, allocations: 1.039 MB / 424.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.3612, allocations: 0.6255 MB / 425.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.3614, allocations: 67.64 kB / 425.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.3615, allocations: 11.98 kB / 425.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.3616, allocations: 23.92 kB / 425.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.3617, allocations: 35.91 kB / 425.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3617, allocations: 0 / 425.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006197/0.3679, allocations: 1.612 MB / 426.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.368, allocations: 11.98 kB / 426.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.242e-05/0.3681, allocations: 27.86 kB / 426.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003836/0.3719, allocations: 1.072 MB / 427.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.372, allocations: 0 / 427.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.46e-06/0.372, allocations: 0 / 427.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.372, allocations: 7.938 kB / 427.9 MB, free: 15.41 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.001129/0.3732, allocations: 0.538 MB / 428.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.3732, allocations: 8.031 kB / 428.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.3735, allocations: 8.922 kB / 428.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3737, allocations: 180.3 kB / 428.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3737, allocations: 384 / 428.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.3738, allocations: 4.375 kB / 428.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.374, allocations: 71.52 kB / 428.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3741, allocations: 0 / 428.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3741, allocations: 0 / 428.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3741, allocations: 0 / 428.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.3743, allocations: 27.91 kB / 428.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.3746, allocations: 174.5 kB / 428.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.3751, allocations: 85.22 kB / 429 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.3752, allocations: 29.7 kB / 429 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.3868, allocations: 3.305 MB / 432.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/0.3869, allocations: 34.5 kB / 432.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.336e-06/0.3869, allocations: 0 / 432.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006079/0.3876, allocations: 81.52 kB / 432.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.3876, allocations: 81.09 kB / 432.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3878, allocations: 117.8 kB / 432.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.3879, allocations: 29.7 kB / 432.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.388, allocations: 84.14 kB / 432.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/0.388, allocations: 11.81 kB / 432.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-05/0.3881, allocations: 21.7 kB / 432.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3883, allocations: 314.8 kB / 433.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.92e-05/0.3884, allocations: 11.98 kB / 433.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3885, allocations: 29.66 kB / 433.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.3888, allocations: 37.7 kB / 433.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3888, allocations: 3.984 kB / 433.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003468/0.3892, allocations: 73.88 kB / 433.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3892, allocations: 8 kB / 433.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3892, allocations: 3.984 kB / 433.3 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.3893, allocations: 4.109 kB / 433.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.3894, allocations: 20 kB / 433.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3894, allocations: 0 / 433.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.975e-05/0.3895, allocations: 7.938 kB / 433.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.3896, allocations: 4 kB / 433.3 MB, free: 9.328 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 0.0001205/0.3897, allocations: 113.8 kB / 433.4 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.3898, allocations: 11.84 kB / 433.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/0.3902, allocations: 113.7 kB / 433.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3903, allocations: 3.938 kB / 433.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3903, allocations: 0 / 433.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3903, allocations: 0 / 433.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.3905, allocations: 169.7 kB / 433.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3906, allocations: 0 / 433.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.3907, allocations: 15.92 kB / 433.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3907, allocations: 0 / 433.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3907, allocations: 4 kB / 433.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3907, allocations: 4 kB / 433.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3908, allocations: 0 / 433.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.3911, allocations: 105.8 kB / 433.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.886e-05/0.3912, allocations: 89.03 kB / 433.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.3913, allocations: 0 / 433.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.3914, allocations: 8 kB / 433.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.3915, allocations: 7.984 kB / 433.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.3915, allocations: 4 kB / 433.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.797e-05/0.3917, allocations: 95.25 kB / 434 MB, free: 8.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3917, allocations: 0 / 434 MB, free: 8.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001485/0.3932, allocations: 327.6 kB / 434.4 MB, free: 8.176 MB / 350.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.002223/0.3954, allocations: 0.5689 MB / 434.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003429/0.3958, allocations: 43.91 kB / 435 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.3958, allocations: 0 / 435 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.3959, allocations: 15.94 kB / 435 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.3963, allocations: 26.83 kB / 435 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006913/0.397, allocations: 189.7 kB / 435.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.3974, allocations: 0.6807 MB / 435.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.875e-05/0.3975, allocations: 27.34 kB / 435.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3975, allocations: 4 kB / 435.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of Templates: time 0.0159/0.4134, allocations: 5.953 MB / 441.9 MB, free: 0.5938 MB / 350.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