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.001665/0.001665, allocations: 101.2 kB / 21.93 MB, free: 5.203 MB / 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.001831/0.001831, allocations: 202.7 kB / 25.22 MB, free: 3.141 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.462/1.462, allocations: 207.7 MB / 236.1 MB, free: 9.777 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.00191/0.00191, allocations: 55.92 kB / 348.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2618, allocations: 49.16 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002263/0.2641, allocations: 1.327 MB / 398.9 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.2749, allocations: 10.7 MB / 409.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.2749, allocations: 4 kB / 409.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.275, allocations: 6.047 kB / 409.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.2787, allocations: 1.029 MB / 410.7 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.2806, allocations: 0.637 MB / 411.3 MB, free: 448 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.2808, allocations: 69.77 kB / 411.4 MB, free: 416 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.2808, allocations: 1.984 kB / 411.4 MB, free: 416 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.2809, allocations: 30.66 kB / 411.4 MB, free: 404 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.099e-05/0.281, allocations: 32.61 kB / 411.4 MB, free: 392 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.281, allocations: 2.75 kB / 411.4 MB, free: 392 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.2843, allocations: 1.48 MB / 412.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.2844, allocations: 14.17 kB / 412.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.2844, allocations: 22.19 kB / 412.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.2868, allocations: 1.049 MB / 414 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2868, allocations: 1.375 kB / 414 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2868, allocations: 4 kB / 414 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2868, allocations: 0 / 414 MB, free: 15.07 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.0007839/0.2876, allocations: 484.8 kB / 414.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2876, allocations: 13.45 kB / 414.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.2877, allocations: 14.44 kB / 414.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.2879, allocations: 124.8 kB / 414.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2879, allocations: 1.781 kB / 414.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.2879, allocations: 1.75 kB / 414.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.2881, allocations: 125.6 kB / 414.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2881, allocations: 0 / 414.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2881, allocations: 5.469 kB / 414.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2881, allocations: 0 / 414.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.2882, allocations: 20.92 kB / 414.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.2884, allocations: 124.4 kB / 414.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.2887, allocations: 74.59 kB / 415 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.112e-05/0.2888, allocations: 25.23 kB / 415 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005694/0.2945, allocations: 1.51 MB / 416.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.2945, allocations: 32.66 kB / 416.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.2945, allocations: 0 / 416.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003627/0.2949, allocations: 85.16 kB / 416.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.2949, allocations: 83.2 kB / 416.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.295, allocations: 115.1 kB / 416.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.2951, allocations: 25.7 kB / 416.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.2951, allocations: 98.41 kB / 416.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.2952, allocations: 14.72 kB / 416.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/0.2952, allocations: 22.92 kB / 417 MB, free: 12.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2953, allocations: 315.9 kB / 417.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.623e-05/0.2954, allocations: 14.61 kB / 417.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-05/0.2954, allocations: 23.66 kB / 417.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.2956, allocations: 37.98 kB / 417.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2956, allocations: 0 / 417.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001744/0.2957, allocations: 70.16 kB / 417.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.2958, allocations: 13.34 kB / 417.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2958, allocations: 1.312 kB / 417.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.2958, allocations: 0.9375 kB / 417.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.2959, allocations: 12.8 kB / 417.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2959, allocations: 1.031 kB / 417.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.2959, allocations: 5.219 kB / 417.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2959, allocations: 3.25 kB / 417.5 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 8.865e-05/0.296, allocations: 111.8 kB / 417.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.296, allocations: 15.22 kB / 417.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.2963, allocations: 101.2 kB / 417.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.2963, allocations: 5.297 kB / 417.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2963, allocations: 1.125 kB / 417.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2963, allocations: 5.141 kB / 417.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.2965, allocations: 112.8 kB / 417.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2965, allocations: 1.406 kB / 417.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.2965, allocations: 16.61 kB / 417.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2965, allocations: 5.062 kB / 417.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.2966, allocations: 5.312 kB / 417.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2966, allocations: 4.984 kB / 417.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2966, allocations: 1.281 kB / 417.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.2968, allocations: 100.9 kB / 417.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.2968, allocations: 11.64 kB / 417.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.2968, allocations: 5.344 kB / 418 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.2969, allocations: 6.469 kB / 418 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.297, allocations: 7.609 kB / 418 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.297, allocations: 6.312 kB / 418 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.001e-05/0.297, allocations: 91.98 kB / 418.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.297, allocations: 5 kB / 418.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001099/0.2981, allocations: 329.9 kB / 418.4 MB, free: 11.85 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.00125/0.2994, allocations: 0.5794 MB / 419 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.2996, allocations: 37.36 kB / 419 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2996, allocations: 0 / 419 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.487e-05/0.2997, allocations: 20.89 kB / 419 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.2999, allocations: 9.344 kB / 419 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.3003, allocations: 200.2 kB / 419.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.81e-05/0.3004, allocations: 76.81 kB / 419.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.3005, allocations: 25.61 kB / 419.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3005, allocations: 0 / 419.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of Templates: time 0.01096/0.3114, allocations: 5.967 MB / 425.3 MB, free: 7.105 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.411333749070764]