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.001569/0.001569, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001775/0.001775, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2503, allocations: 50.53 MB / 409.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002384/0.2527, allocations: 1.363 MB / 410.6 MB, free: 232 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.2649, allocations: 12.09 MB / 422.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.265, allocations: 0 / 422.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.265, allocations: 3.938 kB / 422.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002641/0.2677, allocations: 1.047 MB / 423.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.2691, allocations: 0.6411 MB / 424.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.2692, allocations: 63.72 kB / 424.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.133e-05/0.2692, allocations: 0 / 424.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/0.2692, allocations: 35.84 kB / 424.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.2693, allocations: 35.89 kB / 424.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.2694, allocations: 8 kB / 424.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.2718, allocations: 1.604 MB / 426.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.2718, allocations: 11.98 kB / 426.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.2719, allocations: 27.8 kB / 426.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.2734, allocations: 1.072 MB / 427.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2734, allocations: 0 / 427.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.2734, allocations: 4 kB / 427.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2734, allocations: 0 / 427.2 MB, free: 15.52 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.0006652/0.2741, allocations: 0.5341 MB / 427.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2741, allocations: 16.03 kB / 427.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.2743, allocations: 8.922 kB / 427.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.2744, allocations: 176.3 kB / 428 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2744, allocations: 4.375 kB / 428 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.2745, allocations: 4.359 kB / 428 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.2746, allocations: 79.45 kB / 428.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2746, allocations: 0 / 428.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2747, allocations: 0 / 428.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2747, allocations: 4 kB / 428.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.2748, allocations: 19.98 kB / 428.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.275, allocations: 174.5 kB / 428.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.2752, allocations: 81.19 kB / 428.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.2753, allocations: 29.7 kB / 428.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006171/0.2815, allocations: 3.293 MB / 431.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.2815, allocations: 46.48 kB / 431.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.2815, allocations: 0 / 431.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003084/0.2819, allocations: 81.89 kB / 431.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.2819, allocations: 77.11 kB / 431.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.282, allocations: 117.8 kB / 432 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.282, allocations: 25.7 kB / 432 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.2821, allocations: 96.12 kB / 432.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.2821, allocations: 11.8 kB / 432.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.2822, allocations: 21.72 kB / 432.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.2823, allocations: 318.8 kB / 432.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.2823, allocations: 8 kB / 432.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.758e-05/0.2824, allocations: 25.7 kB / 432.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.2825, allocations: 45.69 kB / 432.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2825, allocations: 0 / 432.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001634/0.2827, allocations: 77.39 kB / 432.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2827, allocations: 11.12 kB / 432.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.2827, allocations: 0 / 432.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2827, allocations: 0 / 432.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/0.2828, allocations: 11.98 kB / 432.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2828, allocations: 320 / 432.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.2829, allocations: 7.938 kB / 432.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.2829, allocations: 8 kB / 432.6 MB, free: 9.43 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.1e-05/0.283, allocations: 117.7 kB / 432.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.283, allocations: 11.84 kB / 432.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.2832, allocations: 105.5 kB / 432.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.2833, allocations: 4 kB / 432.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2833, allocations: 0 / 432.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2833, allocations: 3.984 kB / 432.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.2834, allocations: 165.7 kB / 433 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2834, allocations: 4 kB / 433 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.214e-05/0.2835, allocations: 15.88 kB / 433 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2835, allocations: 3.938 kB / 433 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2835, allocations: 4.125 kB / 433.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2835, allocations: 4 kB / 433.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2835, allocations: 0 / 433.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.2837, allocations: 105.9 kB / 433.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.2838, allocations: 85.03 kB / 433.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.2838, allocations: 4 kB / 433.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.2839, allocations: 7.984 kB / 433.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.2839, allocations: 4 kB / 433.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.284, allocations: 4 kB / 433.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.231e-05/0.284, allocations: 95.27 kB / 433.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.284, allocations: 0 / 433.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007553/0.2848, allocations: 327.6 kB / 433.7 MB, free: 8.277 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.001064/0.2859, allocations: 0.5728 MB / 434.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.2861, allocations: 35.98 kB / 434.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2861, allocations: 4 kB / 434.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.2862, allocations: 19.92 kB / 434.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.2864, allocations: 16 kB / 434.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.2868, allocations: 164.3 kB / 434.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.287, allocations: 0.6885 MB / 435.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.2871, allocations: 44.14 kB / 435.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.2872, allocations: 27.36 kB / 435.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2872, allocations: 7.875 kB / 435.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of Templates: time 0.01234/0.2995, allocations: 8.977 MB / 444.2 MB, free: 13.66 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/jenkins/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/jenkins/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