Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.575e-05, allocations: 2.312 kB / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002673/0.002699, allocations: 1.358 MB / 268.7 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01626/0.01896, allocations: 11.94 MB / 280.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.019, allocations: 0 / 280.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.01903, allocations: 3.938 kB / 280.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.02215, allocations: 1.045 MB / 281.7 MB, free: 8.336 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.02413, allocations: 0.6602 MB / 282.3 MB, free: 7.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.02426, allocations: 67.64 kB / 282.4 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.0243, allocations: 4 kB / 282.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.976e-05/0.02438, allocations: 35.91 kB / 282.4 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.746e-05/0.02447, allocations: 31.95 kB / 282.5 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.02449, allocations: 0 / 282.5 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/0.02746, allocations: 1.498 MB / 283.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.02748, allocations: 7.984 kB / 284 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.02753, allocations: 27.92 kB / 284 MB, free: 6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.02974, allocations: 1.235 MB / 285.2 MB, free: 4.762 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.02974, allocations: 4 kB / 285.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.02974, allocations: 0 / 285.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.02975, allocations: 3.938 kB / 285.2 MB, free: 4.754 MB / 266.7 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.0008845/0.03063, allocations: 0.5686 MB / 285.8 MB, free: 4.148 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.03068, allocations: 12.91 kB / 285.8 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.03081, allocations: 8.938 kB / 285.8 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.03098, allocations: 128.4 kB / 285.9 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.031, allocations: 12.38 kB / 286 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.03101, allocations: 4.375 kB / 286 MB, free: 3.961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.03123, allocations: 121 kB / 286.1 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.03124, allocations: 192 / 286.1 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.03125, allocations: 8.125 kB / 286.1 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.03126, allocations: 3.984 kB / 286.1 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.03138, allocations: 27.91 kB / 286.1 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.0316, allocations: 128.3 kB / 286.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.03193, allocations: 94.19 kB / 286.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.03201, allocations: 35.42 kB / 286.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006043/0.03805, allocations: 1.504 MB / 287.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.03809, allocations: 37.39 kB / 287.9 MB, free: 1.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.03809, allocations: 0 / 287.9 MB, free: 1.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003864/0.03848, allocations: 85.55 kB / 288 MB, free: 1.809 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.03855, allocations: 85.05 kB / 288.1 MB, free: 1.707 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.03871, allocations: 177.9 kB / 288.2 MB, free: 1.516 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.03873, allocations: 25.7 kB / 288.3 MB, free: 1.484 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.03882, allocations: 130.9 kB / 288.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.03887, allocations: 27.78 kB / 288.4 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.03892, allocations: 23.38 kB / 288.5 MB, free: 1.293 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002863/0.0392, allocations: 0.4923 MB / 288.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.03926, allocations: 11.94 kB / 289 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.741e-05/0.03935, allocations: 31.36 kB / 289 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.03948, allocations: 43.36 kB / 289 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.03948, allocations: 0 / 289 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001942/0.03968, allocations: 78.02 kB / 289.1 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.03969, allocations: 4 kB / 289.1 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.0397, allocations: 0 / 289.1 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.03971, allocations: 0 / 289.1 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.03979, allocations: 19.92 kB / 289.1 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.03979, allocations: 0 / 289.1 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.03984, allocations: 3.953 kB / 289.1 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.03985, allocations: 4 kB / 289.1 MB, free: 0.5742 MB / 266.7 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.0003628/0.04021, allocations: 168.5 kB / 289.3 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.04023, allocations: 4 kB / 289.3 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.04055, allocations: 105.5 kB / 289.4 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.04055, allocations: 0 / 289.4 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.04056, allocations: 3.938 kB / 289.4 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.04056, allocations: 4 kB / 289.4 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.04072, allocations: 120.6 kB / 289.5 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.04072, allocations: 4 kB / 289.5 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/0.04078, allocations: 12.11 kB / 289.5 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.04078, allocations: 0 / 289.5 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.0408, allocations: 12 kB / 289.6 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.0408, allocations: 4.25 kB / 289.6 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0408, allocations: 0 / 289.6 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1061/0.1469, allocations: 118.5 kB / 289.7 MB, free: 33.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.1469, allocations: 14.89 kB / 289.7 MB, free: 33.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.147, allocations: 4.688 kB / 289.7 MB, free: 33.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.147, allocations: 4.25 kB / 289.7 MB, free: 33.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.1471, allocations: 12.92 kB / 289.7 MB, free: 33.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1471, allocations: 4 kB / 289.7 MB, free: 33.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.685e-05/0.1471, allocations: 135.3 kB / 289.9 MB, free: 33.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1471, allocations: 1.062 kB / 289.9 MB, free: 33.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008368/0.148, allocations: 325 kB / 290.2 MB, free: 33.39 MB / 266.7 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.001116/0.1491, allocations: 0.6092 MB / 290.8 MB, free: 33.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.1493, allocations: 46.34 kB / 290.8 MB, free: 33.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1493, allocations: 1.281 kB / 290.8 MB, free: 33.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.1494, allocations: 33.23 kB / 290.9 MB, free: 33.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.1495, allocations: 26.33 kB / 290.9 MB, free: 33.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.1499, allocations: 167.8 kB / 291 MB, free: 33.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.59e-05/0.15, allocations: 69.23 kB / 291.1 MB, free: 33.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.1501, allocations: 47.34 kB / 291.2 MB, free: 33.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.1501, allocations: 24.97 kB / 291.2 MB, free: 33.01 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1501, allocations: 0 / 291.2 MB, free: 33.01 MB / 266.7 MB Notification: Performance of Templates: time 0.01371/0.1638, allocations: 9.258 MB / 300.4 MB, free: 29.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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: 6.451522145071067]