Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 200.8 kB / 25.24 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 207.6 MB / 236 MB, free: 10.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002866/0.002866, allocations: 63.89 kB / 348.4 MB, free: 9.648 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3065, allocations: 49.15 MB / 397.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002279/0.3087, allocations: 1.355 MB / 399 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.3205, allocations: 12.21 MB / 411.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.3206, allocations: 0 / 411.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.3206, allocations: 3.391 kB / 411.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00413/0.3248, allocations: 1.048 MB / 412.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.3271, allocations: 0.6402 MB / 412.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.3273, allocations: 65.27 kB / 412.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.3274, allocations: 2.422 kB / 412.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.276e-05/0.3274, allocations: 33.67 kB / 413 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3276, allocations: 29.06 kB / 413 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3276, allocations: 6.781 kB / 413 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004466/0.332, allocations: 1.649 MB / 414.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.3321, allocations: 10.09 kB / 414.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.3321, allocations: 21.92 kB / 414.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.3357, allocations: 1.08 MB / 415.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3357, allocations: 0 / 415.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3357, allocations: 0 / 415.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3357, allocations: 1.094 kB / 415.7 MB, free: 13.44 MB / 334.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.001213/0.337, allocations: 483.9 kB / 416.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.337, allocations: 18.17 kB / 416.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.3372, allocations: 17.28 kB / 416.3 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.3374, allocations: 117.1 kB / 416.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3374, allocations: 5.906 kB / 416.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.3374, allocations: 1.594 kB / 416.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.3376, allocations: 65.3 kB / 416.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3376, allocations: 7.875 kB / 416.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.3376, allocations: 5.062 kB / 416.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3377, allocations: 5.125 kB / 416.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.3378, allocations: 17.2 kB / 416.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.338, allocations: 143.1 kB / 416.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.3383, allocations: 78.28 kB / 416.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.552e-05/0.3384, allocations: 30.2 kB / 416.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006303/0.3447, allocations: 1.493 MB / 418.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.3447, allocations: 44.77 kB / 418.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.3447, allocations: 4 kB / 418.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003942/0.3451, allocations: 85.16 kB / 418.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.3452, allocations: 78.55 kB / 418.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3453, allocations: 118.3 kB / 418.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.3454, allocations: 26.64 kB / 418.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.3454, allocations: 89.47 kB / 418.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.3455, allocations: 17.97 kB / 418.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.3455, allocations: 23.16 kB / 418.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3457, allocations: 319.7 kB / 419 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.3458, allocations: 11.94 kB / 419 MB, free: 11.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.169e-05/0.3459, allocations: 26.33 kB / 419 MB, free: 10.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.346, allocations: 38.23 kB / 419.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.346, allocations: 0 / 419.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002072/0.3462, allocations: 81.91 kB / 419.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3462, allocations: 5 kB / 419.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3462, allocations: 1.688 kB / 419.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3463, allocations: 0 / 419.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.3463, allocations: 14.48 kB / 419.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.3463, allocations: 3.938 kB / 419.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.518e-05/0.3464, allocations: 2.281 kB / 419.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3464, allocations: 2.281 kB / 419.2 MB, free: 10.89 MB / 334.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.0001308/0.3465, allocations: 120 kB / 419.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.3466, allocations: 11.17 kB / 419.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.3469, allocations: 100.2 kB / 419.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3469, allocations: 1.156 kB / 419.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3469, allocations: 0 / 419.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.3469, allocations: 5.141 kB / 419.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.3471, allocations: 142.6 kB / 419.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3471, allocations: 3.984 kB / 419.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.3472, allocations: 13.12 kB / 419.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3472, allocations: 0.9062 kB / 419.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3472, allocations: 2.125 kB / 419.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.3472, allocations: 0 / 419.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3472, allocations: 5 kB / 419.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.3474, allocations: 104.5 kB / 419.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.3475, allocations: 11.92 kB / 419.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.3475, allocations: 5.328 kB / 419.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.3476, allocations: 2.562 kB / 419.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.3476, allocations: 10.33 kB / 419.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3476, allocations: 2.938 kB / 419.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.802e-05/0.3477, allocations: 96.3 kB / 419.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3477, allocations: 0 / 419.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001391/0.3491, allocations: 329.7 kB / 420.1 MB, free: 10.19 MB / 334.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.001997/0.3511, allocations: 0.5838 MB / 420.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.3513, allocations: 33.78 kB / 420.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3513, allocations: 4 kB / 420.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.181e-05/0.3514, allocations: 24.42 kB / 420.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.3517, allocations: 13.98 kB / 420.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.3523, allocations: 191.1 kB / 421 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.3527, allocations: 0.6851 MB / 421.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.3528, allocations: 28.98 kB / 421.7 MB, free: 8.941 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3528, allocations: 1.125 kB / 421.7 MB, free: 8.941 MB / 334.1 MB Notification: Performance of Templates: time 0.01514/0.3679, allocations: 5.949 MB / 427.6 MB, free: 4.941 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.454775071004406]