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.00139/0.00139, allocations: 82.7 kB / 22 MB, free: 5.18 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.001396/0.001396, allocations: 161.8 kB / 25.25 MB, free: 3.02 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.341/1.341, allocations: 158.6 MB / 187 MB, free: 6.48 MB / 174.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.001922/0.001922, allocations: 62.73 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2164, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00259/0.219, allocations: 1.319 MB / 349.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.2332, allocations: 10.71 MB / 360.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.2333, allocations: 0 / 360.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.2333, allocations: 0 / 360.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.2366, allocations: 1.021 MB / 361.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.2384, allocations: 0.6479 MB / 362.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2385, allocations: 51.78 kB / 362.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/0.2386, allocations: 11.98 kB / 362.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.2386, allocations: 27.86 kB / 362.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.2387, allocations: 31.89 kB / 362.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.2387, allocations: 0 / 362.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.2415, allocations: 1.483 MB / 363.8 MB, free: 168 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.2415, allocations: 19.92 kB / 363.8 MB, free: 148 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.2416, allocations: 23.92 kB / 363.9 MB, free: 124 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.2433, allocations: 1.048 MB / 364.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2433, allocations: 0 / 364.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2433, allocations: 0 / 364.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.2433, allocations: 0 / 364.9 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.0007084/0.244, allocations: 484.2 kB / 365.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2441, allocations: 15.97 kB / 365.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.2442, allocations: 20.89 kB / 365.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2443, allocations: 114.5 kB / 365.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.2444, allocations: 8.375 kB / 365.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.2444, allocations: 4.375 kB / 365.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.2446, allocations: 118.9 kB / 365.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2446, allocations: 0 / 365.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2446, allocations: 4 kB / 365.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2446, allocations: 0 / 365.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.2447, allocations: 23.92 kB / 365.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.2449, allocations: 118.2 kB / 365.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.2452, allocations: 81.16 kB / 365.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/0.2452, allocations: 29.77 kB / 365.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005816/0.2511, allocations: 1.498 MB / 367.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.2511, allocations: 38.56 kB / 367.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 3.267e-06/0.2511, allocations: 7.922 kB / 367.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003453/0.2514, allocations: 85.5 kB / 367.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.2515, allocations: 81.11 kB / 367.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2516, allocations: 117.8 kB / 367.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.2516, allocations: 29.7 kB / 367.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.2517, allocations: 80.14 kB / 367.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.2517, allocations: 19.84 kB / 367.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.2518, allocations: 21.7 kB / 367.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2519, allocations: 310.8 kB / 368.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.679e-05/0.252, allocations: 15.98 kB / 368.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.252, allocations: 21.66 kB / 368.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.2522, allocations: 45.7 kB / 368.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2522, allocations: 0 / 368.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001744/0.2523, allocations: 73.56 kB / 368.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2524, allocations: 7.938 kB / 368.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2524, allocations: 320 / 368.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2524, allocations: 4 kB / 368.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.2524, allocations: 11.98 kB / 368.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2525, allocations: 0 / 368.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.2525, allocations: 4 kB / 368.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.2525, allocations: 3.984 kB / 368.4 MB, free: 11.39 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.805e-05/0.2526, allocations: 121.8 kB / 368.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.2526, allocations: 11.89 kB / 368.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.2529, allocations: 105.4 kB / 368.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2529, allocations: 4 kB / 368.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2529, allocations: 0 / 368.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2529, allocations: 4.562 kB / 368.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.253, allocations: 113.3 kB / 368.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2531, allocations: 128 / 368.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.403e-05/0.2531, allocations: 16 kB / 368.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2531, allocations: 0 / 368.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2531, allocations: 3.938 kB / 368.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.2531, allocations: 4 kB / 368.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2531, allocations: 0 / 368.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.2533, allocations: 109.8 kB / 368.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.2534, allocations: 11.98 kB / 368.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.2534, allocations: 7.938 kB / 368.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.2535, allocations: 3.984 kB / 368.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.2535, allocations: 4 kB / 368.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.2535, allocations: 11.98 kB / 368.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.117e-05/0.2536, allocations: 87.28 kB / 369 MB, free: 10.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2536, allocations: 0 / 369 MB, free: 10.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008443/0.2544, allocations: 330.8 kB / 369.3 MB, free: 10.39 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.001124/0.2556, allocations: 0.5875 MB / 369.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.2557, allocations: 35.98 kB / 369.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.2557, allocations: 4 kB / 369.9 MB, free: 9.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/0.2558, allocations: 23.92 kB / 369.9 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.256, allocations: 11.92 kB / 370 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.2564, allocations: 168.2 kB / 370.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.192e-05/0.2565, allocations: 71.3 kB / 370.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.2566, allocations: 52.09 kB / 370.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.2567, allocations: 20.48 kB / 370.3 MB, free: 9.363 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2567, allocations: 0 / 370.3 MB, free: 9.363 MB / 334.1 MB Notification: Performance of Templates: time 0.01526/0.2719, allocations: 9.034 MB / 379.3 MB, free: 316 kB / 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 -s ida -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: 6.421477147960104]