Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.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.000938/0.000938, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 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.001092/0.001092, allocations: 168.1 kB / 25.33 MB, free: 9.449 MB / 18.57 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 0.8747/0.8747, allocations: 158.6 MB / 187.2 MB, free: 2.551 MB / 170.7 MB " [Timeout remaining time 179] 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.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.295e-05, allocations: 2.312 kB / 251 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001789/0.001812, allocations: 1.388 MB / 252.4 MB, free: 2.215 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2427/0.2445, allocations: 143.3 MB / 395.7 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.2445, allocations: 0 / 395.7 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.2446, allocations: 7.922 kB / 395.7 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007827/0.2453, allocations: 239.9 kB / 396 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.2464, allocations: 0.6574 MB / 396.6 MB, free: 6.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.931e-05/0.2465, allocations: 55.66 kB / 396.7 MB, free: 6.016 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.2465, allocations: 4 kB / 396.7 MB, free: 6.012 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.195e-05/0.2466, allocations: 31.91 kB / 396.7 MB, free: 5.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.2467, allocations: 27.91 kB / 396.7 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.2467, allocations: 0 / 396.7 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008754/0.2475, allocations: 0.7716 MB / 397.5 MB, free: 5.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.2476, allocations: 4 kB / 397.5 MB, free: 5.176 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.2476, allocations: 23.92 kB / 397.5 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006835/0.2483, allocations: 0.6701 MB / 398.2 MB, free: 4.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2483, allocations: 4 kB / 398.2 MB, free: 4.477 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2483, allocations: 0 / 398.2 MB, free: 4.477 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.2483, allocations: 0 / 398.2 MB, free: 4.477 MB / 330.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.0004329/0.2487, allocations: 484.2 kB / 398.7 MB, free: 3.969 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2487, allocations: 11.98 kB / 398.7 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006023/0.2493, allocations: 92.8 kB / 398.8 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.2496, allocations: 233.1 kB / 399 MB, free: 3.609 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2496, allocations: 8.312 kB / 399 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.2496, allocations: 12.48 kB / 399 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.2498, allocations: 96.92 kB / 399.1 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.2498, allocations: 0 / 399.1 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2498, allocations: 0 / 399.1 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.2498, allocations: 4 kB / 399.1 MB, free: 3.477 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.244e-05/0.2499, allocations: 51.88 kB / 399.2 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.25, allocations: 153.4 kB / 399.3 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.2503, allocations: 147.1 kB / 399.5 MB, free: 3.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.2504, allocations: 39.3 kB / 399.5 MB, free: 3.023 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.2505, allocations: 92.58 kB / 399.6 MB, free: 2.934 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.2505, allocations: 33.39 kB / 399.6 MB, free: 2.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.2505, allocations: 0 / 399.6 MB, free: 2.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.000252/0.2508, allocations: 133.4 kB / 399.8 MB, free: 2.754 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.2508, allocations: 81.11 kB / 399.8 MB, free: 2.656 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.251, allocations: 225.9 kB / 400.1 MB, free: 2.418 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.251, allocations: 29.7 kB / 400.1 MB, free: 2.383 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.251, allocations: 130.9 kB / 400.2 MB, free: 2.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.251, allocations: 19.86 kB / 400.2 MB, free: 2.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.2511, allocations: 39.34 kB / 400.3 MB, free: 2.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.2512, allocations: 496.1 kB / 400.8 MB, free: 1.688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.145e-05/0.2512, allocations: 23.97 kB / 400.8 MB, free: 1.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.914e-05/0.2513, allocations: 62.66 kB / 400.8 MB, free: 1.586 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.2514, allocations: 96.23 kB / 400.9 MB, free: 1.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2514, allocations: 4 kB / 400.9 MB, free: 1.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001656/0.2516, allocations: 125.9 kB / 401.1 MB, free: 1.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2516, allocations: 7.938 kB / 401.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2516, allocations: 4 kB / 401.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2516, allocations: 0 / 401.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.2517, allocations: 27.97 kB / 401.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2517, allocations: 3.938 kB / 401.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.863e-05/0.2517, allocations: 7.938 kB / 401.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.2518, allocations: 7.984 kB / 401.1 MB, free: 1.289 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 6.607e-05/0.2518, allocations: 160.6 kB / 401.3 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.2519, allocations: 7.953 kB / 401.3 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.2521, allocations: 197.3 kB / 401.5 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2521, allocations: 3.938 kB / 401.5 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2521, allocations: 4 kB / 401.5 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2521, allocations: 0 / 401.5 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.2522, allocations: 146 kB / 401.6 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2522, allocations: 4 kB / 401.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.143e-05/0.2523, allocations: 27.91 kB / 401.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2523, allocations: 0 / 401.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2523, allocations: 0 / 401.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2523, allocations: 7.938 kB / 401.7 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2523, allocations: 3.984 kB / 401.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.2526, allocations: 156.9 kB / 401.8 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.2526, allocations: 47.81 kB / 401.9 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.2526, allocations: 4 kB / 401.9 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.291e-05/0.2527, allocations: 3.938 kB / 401.9 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.2527, allocations: 16.02 kB / 401.9 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.2527, allocations: 7.984 kB / 401.9 MB, free: 436 kB / 330.7 MB Notification: Performance of sorting global known variables: time 9.792e-05/0.2528, allocations: 183.8 kB / 402.1 MB, free: 252 kB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2528, allocations: 0 / 402.1 MB, free: 252 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003366/0.2532, allocations: 171.5 kB / 402.3 MB, free: 80 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005891/0.2538, allocations: 409.7 kB / 402.7 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.2539, allocations: 76.73 kB / 402.7 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.2539, allocations: 0 / 402.7 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6e-05/0.254, allocations: 39.61 kB / 402.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.2542, allocations: 40.36 kB / 402.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006063/0.2548, allocations: 266.1 kB / 403.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.161e-05/0.2548, allocations: 63.34 kB / 403.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003505/0.2551, allocations: 430.3 kB / 403.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.978e-05/0.2552, allocations: 44.39 kB / 403.6 MB, free: 14.69 MB / 346.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2552, allocations: 0 / 403.6 MB, free: 14.69 MB / 346.7 MB Notification: Performance of Templates: time 0.007286/0.2625, allocations: 6.583 MB / 410.2 MB, free: 8.105 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.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/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.023338354192674]