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.000873/0.000873, allocations: 84 kB / 21.43 MB, free: 3.129 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.004142/0.004142, allocations: 144.4 kB / 24.68 MB, free: 9.426 MB / 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 0.8382/0.8382, allocations: 173.4 MB / 201.2 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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.222e-06/1.222e-06, allocations: 3.938 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.802e-05, allocations: 2.281 kB / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001356/0.001374, allocations: 1.324 MB / 321 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007479/0.008853, allocations: 10.68 MB / 331.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.00888, allocations: 0 / 331.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.008896, allocations: 3.938 kB / 331.7 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.01033, allocations: 1.053 MB / 332.7 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.01099, allocations: 0.6525 MB / 333.4 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.286e-05/0.01106, allocations: 63.72 kB / 333.4 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.244e-05/0.01109, allocations: 3.984 kB / 333.5 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.01114, allocations: 43.89 kB / 333.5 MB, free: 7.945 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.784e-05/0.01121, allocations: 27.91 kB / 333.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.01122, allocations: 4 kB / 333.5 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.01257, allocations: 1.49 MB / 335 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.01259, allocations: 15.92 kB / 335 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.01261, allocations: 15.98 kB / 335 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.01365, allocations: 1.239 MB / 336.3 MB, free: 5.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01366, allocations: 0 / 336.3 MB, free: 5.148 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01366, allocations: 0 / 336.3 MB, free: 5.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.01366, allocations: 0 / 336.3 MB, free: 5.148 MB / 298.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.000458/0.01412, allocations: 492.2 kB / 336.8 MB, free: 4.637 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.01415, allocations: 12.86 kB / 336.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.651e-05/0.01424, allocations: 12.92 kB / 336.8 MB, free: 4.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.191e-05/0.01433, allocations: 125.7 kB / 336.9 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.01434, allocations: 4.375 kB / 336.9 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.01435, allocations: 384 / 336.9 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.01448, allocations: 119.4 kB / 337 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.01449, allocations: 192 / 337 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.0145, allocations: 4.125 kB / 337 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.0145, allocations: 0 / 337 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.243e-05/0.01457, allocations: 31.92 kB / 337.1 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.01467, allocations: 114.3 kB / 337.2 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.01486, allocations: 73.19 kB / 337.3 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.079e-05/0.0149, allocations: 29.7 kB / 337.3 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002705/0.0176, allocations: 1.506 MB / 338.8 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.01762, allocations: 34.56 kB / 338.8 MB, free: 2.465 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.01762, allocations: 0 / 338.8 MB, free: 2.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.000191/0.01781, allocations: 85.55 kB / 338.9 MB, free: 2.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.01785, allocations: 85.05 kB / 339 MB, free: 2.273 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.01793, allocations: 113.8 kB / 339.1 MB, free: 2.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.01794, allocations: 29.7 kB / 339.1 MB, free: 2.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.01797, allocations: 84.14 kB / 339.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.01799, allocations: 19.84 kB / 339.2 MB, free: 2.012 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.01802, allocations: 21.72 kB / 339.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.01808, allocations: 318.8 kB / 339.6 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.01811, allocations: 12 kB / 339.6 MB, free: 1.652 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-05/0.01815, allocations: 21.7 kB / 339.6 MB, free: 1.625 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.106e-05/0.01821, allocations: 41.64 kB / 339.6 MB, free: 1.578 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01821, allocations: 7.875 kB / 339.6 MB, free: 1.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.712e-05/0.01829, allocations: 69.61 kB / 339.7 MB, free: 1.496 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.01831, allocations: 8 kB / 339.7 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01831, allocations: 0 / 339.7 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.01832, allocations: 4 kB / 339.7 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.596e-05/0.01836, allocations: 15.92 kB / 339.7 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.01836, allocations: 4 kB / 339.7 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.006e-05/0.01838, allocations: 7.891 kB / 339.8 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.01839, allocations: 4 kB / 339.8 MB, free: 1.453 MB / 298.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 4.638e-05/0.01844, allocations: 109.8 kB / 339.9 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.01845, allocations: 4 kB / 339.9 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.01859, allocations: 113.5 kB / 340 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.0186, allocations: 0.5625 kB / 340 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.0186, allocations: 7.938 kB / 340 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.01861, allocations: 0 / 340 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.038e-05/0.01867, allocations: 109.3 kB / 340.1 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01867, allocations: 4.125 kB / 340.1 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.01869, allocations: 11.98 kB / 340.1 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.135e-06/0.01869, allocations: 4 kB / 340.1 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.0187, allocations: 0 / 340.1 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.0187, allocations: 0 / 340.1 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.0187, allocations: 0 / 340.1 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.0188, allocations: 113.8 kB / 340.2 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.01883, allocations: 11.94 kB / 340.2 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.01884, allocations: 4 kB / 340.2 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.049e-05/0.01887, allocations: 4 kB / 340.2 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.0189, allocations: 11.92 kB / 340.3 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.01891, allocations: 0 / 340.3 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.302e-05/0.01894, allocations: 99.25 kB / 340.4 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01894, allocations: 0 / 340.4 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003895/0.01933, allocations: 330.8 kB / 340.7 MB, free: 476 kB / 298.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.0006734/0.02, allocations: 0.6149 MB / 341.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.02011, allocations: 39.83 kB / 341.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.02011, allocations: 0 / 341.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.149e-05/0.02014, allocations: 15.98 kB / 341.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.02027, allocations: 20.47 kB / 341.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.02054, allocations: 191.1 kB / 341.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.02058, allocations: 67.34 kB / 341.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.02061, allocations: 20.48 kB / 341.6 MB, free: 15.44 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02062, allocations: 0 / 341.6 MB, free: 15.44 MB / 314.7 MB Notification: Performance of Templates: time 0.005074/0.02569, allocations: 6.073 MB / 347.7 MB, free: 9.359 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] 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: 5.097468750551343]