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.001949/0.001949, allocations: 103.6 kB / 21.18 MB, free: 332 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.002456/0.002456, allocations: 212 kB / 24.47 MB, free: 3.547 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.543/1.543, allocations: 207.7 MB / 235.3 MB, free: 9.809 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.001904/0.001904, allocations: 54.73 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2818, allocations: 49.15 MB / 396.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002203/0.284, allocations: 1.331 MB / 398.2 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.2951, allocations: 10.69 MB / 408.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.2952, allocations: 0 / 408.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.688e-05/0.2952, allocations: 5.812 kB / 408.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003295/0.2985, allocations: 1.028 MB / 409.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.3003, allocations: 0.6343 MB / 410.5 MB, free: 456 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.3004, allocations: 65.31 kB / 410.6 MB, free: 428 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.3004, allocations: 10.34 kB / 410.6 MB, free: 420 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.295e-05/0.3005, allocations: 25.5 kB / 410.6 MB, free: 412 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3006, allocations: 37.73 kB / 410.7 MB, free: 396 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3006, allocations: 2.344 kB / 410.7 MB, free: 396 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.3034, allocations: 1.485 MB / 412.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.3034, allocations: 2.594 kB / 412.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.3035, allocations: 33.84 kB / 412.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.3054, allocations: 1.05 MB / 413.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3054, allocations: 0 / 413.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3054, allocations: 0 / 413.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.3054, allocations: 1.125 kB / 413.2 MB, free: 15.08 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.0007917/0.3062, allocations: 484.1 kB / 413.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3062, allocations: 13.05 kB / 413.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.3064, allocations: 14.22 kB / 413.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3065, allocations: 125.8 kB / 413.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3065, allocations: 1.438 kB / 413.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.3065, allocations: 9.75 kB / 413.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3067, allocations: 117.1 kB / 414 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3068, allocations: 0 / 414 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3068, allocations: 1.406 kB / 414 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3068, allocations: 1.469 kB / 414 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.3069, allocations: 25.7 kB / 414 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.3071, allocations: 123.3 kB / 414.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.3074, allocations: 74.16 kB / 414.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.676e-05/0.3074, allocations: 29.95 kB / 414.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005887/0.3133, allocations: 1.502 MB / 415.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.3134, allocations: 33 kB / 415.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 2.364e-06/0.3134, allocations: 0 / 415.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003771/0.3138, allocations: 89.23 kB / 415.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.3138, allocations: 86.36 kB / 415.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3139, allocations: 110.5 kB / 416.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.314, allocations: 27.11 kB / 416.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.314, allocations: 85.73 kB / 416.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.314, allocations: 29.72 kB / 416.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.3141, allocations: 19.62 kB / 416.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.3143, allocations: 316.4 kB / 416.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.707e-05/0.3144, allocations: 11.38 kB / 416.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.3144, allocations: 22.45 kB / 416.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.3145, allocations: 50.06 kB / 416.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3145, allocations: 1.312 kB / 416.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001853/0.3147, allocations: 73.56 kB / 416.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3147, allocations: 9.156 kB / 416.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3147, allocations: 1.156 kB / 416.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3148, allocations: 1.219 kB / 416.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.3148, allocations: 12.83 kB / 416.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3148, allocations: 1.25 kB / 416.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.3149, allocations: 1 kB / 416.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.3149, allocations: 2.25 kB / 416.7 MB, free: 12.52 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 9.953e-05/0.315, allocations: 117.1 kB / 416.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.315, allocations: 11.61 kB / 416.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.3153, allocations: 103.3 kB / 416.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.3153, allocations: 1.562 kB / 416.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3153, allocations: 1.312 kB / 416.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3153, allocations: 4 kB / 416.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.3155, allocations: 110.3 kB / 417 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3155, allocations: 0.875 kB / 417 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.3155, allocations: 13.55 kB / 417.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3156, allocations: 0 / 417.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3156, allocations: 6.438 kB / 417.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3156, allocations: 3.984 kB / 417.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3156, allocations: 1 kB / 417.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.3158, allocations: 105.6 kB / 417.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.3158, allocations: 7.297 kB / 417.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3158, allocations: 18.19 kB / 417.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.3159, allocations: 2.25 kB / 417.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.316, allocations: 7.016 kB / 417.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.316, allocations: 2.219 kB / 417.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.928e-05/0.3161, allocations: 100.5 kB / 417.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3161, allocations: 0 / 417.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009763/0.3171, allocations: 330.5 kB / 417.6 MB, free: 11.86 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.001457/0.3185, allocations: 0.584 MB / 418.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.3187, allocations: 37.03 kB / 418.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3187, allocations: 0 / 418.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.477e-05/0.3188, allocations: 16.23 kB / 418.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.319, allocations: 10.77 kB / 418.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.3195, allocations: 174.9 kB / 418.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.964e-05/0.3195, allocations: 72.09 kB / 418.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.3197, allocations: 56.55 kB / 418.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.3197, allocations: 14.97 kB / 418.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3197, allocations: 0 / 418.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of Templates: time 0.01759/0.3373, allocations: 9.068 MB / 427.7 MB, free: 4 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/jenkins/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/jenkins/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: 7.001806952059269]