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.001019/0.001019, allocations: 91.45 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 201.3 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.7 MB / 247.5 MB, free: 9.676 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000228/0.0002281, allocations: 4 kB / 308.4 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09245, allocations: 51.53 MB / 359.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001584/0.09408, allocations: 1.086 MB / 361 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1886/0.2827, allocations: 12.19 MB / 373.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.2828, allocations: 0.875 kB / 373.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.2828, allocations: 4.688 kB / 373.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00384/0.2867, allocations: 0.856 MB / 374 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.2891, allocations: 0.5319 MB / 374.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.2893, allocations: 62.17 kB / 374.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.2893, allocations: 5.5 kB / 374.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.007e-05/0.2894, allocations: 24.48 kB / 374.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.2895, allocations: 36.62 kB / 374.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.2896, allocations: 4.188 kB / 374.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005096/0.2947, allocations: 1.562 MB / 376.3 MB, free: 9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.2947, allocations: 16.28 kB / 376.3 MB, free: 9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.2948, allocations: 48.75 kB / 376.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002116/0.297, allocations: 0.7254 MB / 377.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.297, allocations: 1.062 kB / 377.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.297, allocations: 0.7969 kB / 377.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.297, allocations: 0 / 377.1 MB, free: 8.922 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.001253/0.2983, allocations: 0.5307 MB / 377.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.2983, allocations: 10.22 kB / 377.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.2985, allocations: 15.25 kB / 377.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2986, allocations: 182.9 kB / 377.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.2986, allocations: 384 / 377.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.2987, allocations: 4.547 kB / 377.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.2989, allocations: 72.48 kB / 377.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2989, allocations: 0.75 kB / 377.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.2989, allocations: 1.094 kB / 377.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2989, allocations: 4.625 kB / 377.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.299, allocations: 23.45 kB / 377.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.2992, allocations: 176.3 kB / 378.1 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.2995, allocations: 84.28 kB / 378.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.2996, allocations: 27.67 kB / 378.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006919/0.3065, allocations: 3.29 MB / 381.5 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.3066, allocations: 45.31 kB / 381.5 MB, free: 5.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 3.307e-06/0.3066, allocations: 1.188 kB / 381.5 MB, free: 5.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003913/0.307, allocations: 78.64 kB / 381.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.3071, allocations: 81.48 kB / 381.7 MB, free: 5.469 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.3072, allocations: 112.4 kB / 381.8 MB, free: 5.371 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3072, allocations: 31.11 kB / 381.8 MB, free: 5.336 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.3072, allocations: 86.31 kB / 381.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.3073, allocations: 20.72 kB / 381.9 MB, free: 5.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.3073, allocations: 11.78 kB / 381.9 MB, free: 5.227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.503e-05/0.3074, allocations: 315.5 kB / 382.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.372e-05/0.3074, allocations: 10.8 kB / 382.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.744e-05/0.3075, allocations: 26.08 kB / 382.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.3076, allocations: 40.61 kB / 382.3 MB, free: 4.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3076, allocations: 1.25 kB / 382.3 MB, free: 4.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001747/0.3078, allocations: 71.36 kB / 382.4 MB, free: 4.844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3078, allocations: 9.688 kB / 382.4 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3078, allocations: 0 / 382.4 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3079, allocations: 1.094 kB / 382.4 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/0.3079, allocations: 15.8 kB / 382.4 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.308, allocations: 1.672 kB / 382.4 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.627e-05/0.308, allocations: 7.984 kB / 382.4 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.308, allocations: 10.38 kB / 382.4 MB, free: 4.832 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 6.219e-05/0.3081, allocations: 118.5 kB / 382.5 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.3081, allocations: 8.344 kB / 382.6 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.3084, allocations: 109.4 kB / 382.7 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3085, allocations: 6.312 kB / 382.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3085, allocations: 1.031 kB / 382.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3085, allocations: 1.594 kB / 382.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.3086, allocations: 167.4 kB / 382.8 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3086, allocations: 1.688 kB / 382.8 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.979e-05/0.3087, allocations: 10.59 kB / 382.8 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3087, allocations: 5.594 kB / 382.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3087, allocations: 1.516 kB / 382.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3087, allocations: 1.031 kB / 382.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3087, allocations: 1.734 kB / 382.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.3089, allocations: 102.9 kB / 383 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.309, allocations: 97.3 kB / 383 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.309, allocations: 5.312 kB / 383.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.98e-05/0.3091, allocations: 3.422 kB / 383.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.3091, allocations: 12.53 kB / 383.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3092, allocations: 3.312 kB / 383.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.366e-05/0.3092, allocations: 93.72 kB / 383.2 MB, free: 4.219 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3092, allocations: 1.656 kB / 383.2 MB, free: 4.219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001346/0.3106, allocations: 322.6 kB / 383.5 MB, free: 4.152 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.002003/0.3126, allocations: 0.5733 MB / 384.1 MB, free: 3.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.3128, allocations: 38.73 kB / 384.1 MB, free: 3.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3128, allocations: 0 / 384.1 MB, free: 3.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.596e-05/0.3128, allocations: 22.56 kB / 384.1 MB, free: 3.977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.3131, allocations: 13.59 kB / 384.1 MB, free: 3.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.3137, allocations: 214.8 kB / 384.3 MB, free: 3.805 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.3138, allocations: 0.681 MB / 385 MB, free: 3.109 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.3139, allocations: 24.88 kB / 385 MB, free: 3.102 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3139, allocations: 0 / 385 MB, free: 3.102 MB / 302.1 MB Notification: Performance of Templates: time 0.01209/0.326, allocations: 5.941 MB / 391 MB, free: 1.234 MB / 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 -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