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.0009693/0.0009693, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001238/0.001238, allocations: 167.1 kB / 25.7 MB, free: 8.402 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.9573/0.9573, allocations: 158.6 MB / 187.6 MB, free: 2.773 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.283e-06/1.283e-06, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.974e-05, allocations: 6.25 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00197/0.00199, allocations: 1.429 MB / 253 MB, free: 5.797 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2416/0.2436, allocations: 142.7 MB / 395.7 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.2437, allocations: 1.203 kB / 395.7 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.2437, allocations: 2.438 kB / 395.7 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007561/0.2445, allocations: 237.8 kB / 395.9 MB, free: 9.219 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.2456, allocations: 0.6089 MB / 396.5 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.41e-05/0.2457, allocations: 64.77 kB / 396.6 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.2457, allocations: 0 / 396.6 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.484e-05/0.2458, allocations: 31.34 kB / 396.6 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.2458, allocations: 28.16 kB / 396.6 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.2459, allocations: 0 / 396.6 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.2469, allocations: 0.8141 MB / 397.4 MB, free: 9.094 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.2469, allocations: 10.08 kB / 397.4 MB, free: 9.094 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.247, allocations: 23.77 kB / 397.5 MB, free: 9.086 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007697/0.2477, allocations: 0.6725 MB / 398.1 MB, free: 9.039 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2477, allocations: 0 / 398.1 MB, free: 9.039 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2477, allocations: 2.75 kB / 398.1 MB, free: 9.039 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.2477, allocations: 0 / 398.1 MB, free: 9.039 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.0003681/0.2481, allocations: 356 kB / 398.5 MB, free: 8.746 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.2481, allocations: 14.73 kB / 398.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005323/0.2487, allocations: 120.5 kB / 398.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.2489, allocations: 198.2 kB / 398.8 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.2489, allocations: 2.688 kB / 398.8 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.2489, allocations: 11.36 kB / 398.8 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.249, allocations: 92.67 kB / 398.9 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.249, allocations: 6.422 kB / 398.9 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.249, allocations: 0 / 398.9 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.249, allocations: 0 / 398.9 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.759e-05/0.2491, allocations: 38.8 kB / 399 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.2492, allocations: 76.5 kB / 399 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.2494, allocations: 107.6 kB / 399.1 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.2494, allocations: 27.86 kB / 399.2 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.2496, allocations: 91.7 kB / 399.3 MB, free: 8.254 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.2496, allocations: 38.48 kB / 399.3 MB, free: 8.207 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.2496, allocations: 0 / 399.3 MB, free: 8.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001561/0.2497, allocations: 99.12 kB / 399.4 MB, free: 8.148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.2497, allocations: 79.33 kB / 399.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.2498, allocations: 152.8 kB / 399.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.2498, allocations: 29.7 kB / 399.7 MB, free: 7.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.338e-06/0.2498, allocations: 85.5 kB / 399.7 MB, free: 7.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.2499, allocations: 27.81 kB / 399.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.2499, allocations: 24.8 kB / 399.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.047e-05/0.2499, allocations: 320.8 kB / 400.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.25, allocations: 17.73 kB / 400.1 MB, free: 7.461 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.054e-05/0.25, allocations: 44.19 kB / 400.2 MB, free: 7.422 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.609e-05/0.2501, allocations: 66.55 kB / 400.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2501, allocations: 4 kB / 400.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001054/0.2502, allocations: 88.45 kB / 400.3 MB, free: 7.316 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.2502, allocations: 5.938 kB / 400.3 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2502, allocations: 3.031 kB / 400.3 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2502, allocations: 7.922 kB / 400.3 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.2503, allocations: 30 kB / 400.4 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.2503, allocations: 2.375 kB / 400.4 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.2504, allocations: 14.42 kB / 400.4 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.2504, allocations: 2.781 kB / 400.4 MB, free: 7.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 4.288e-05/0.2504, allocations: 123.4 kB / 400.5 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.2504, allocations: 6.203 kB / 400.5 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.2506, allocations: 168.7 kB / 400.7 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2506, allocations: 6.438 kB / 400.7 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.2506, allocations: 3.188 kB / 400.7 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2506, allocations: 3 kB / 400.7 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.618e-05/0.2507, allocations: 90.64 kB / 400.8 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.2507, allocations: 1.094 kB / 400.8 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.2508, allocations: 25.38 kB / 400.8 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2508, allocations: 0 / 400.8 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2508, allocations: 3.188 kB / 400.8 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2508, allocations: 0.625 kB / 400.8 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2508, allocations: 7.922 kB / 400.8 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.251, allocations: 126.5 kB / 400.9 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.251, allocations: 45.77 kB / 401 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.251, allocations: 1.203 kB / 401 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.2511, allocations: 6.875 kB / 401 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.2511, allocations: 13.86 kB / 401 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.2511, allocations: 6.766 kB / 401 MB, free: 6.836 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.016e-05/0.2512, allocations: 54.09 kB / 401.1 MB, free: 6.816 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2512, allocations: 2.312 kB / 401.1 MB, free: 6.816 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003467/0.2515, allocations: 174.2 kB / 401.2 MB, free: 6.777 MB / 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.0006281/0.2521, allocations: 409.2 kB / 401.6 MB, free: 6.605 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.2523, allocations: 62.06 kB / 401.7 MB, free: 6.582 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2523, allocations: 0 / 401.7 MB, free: 6.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.214e-05/0.2523, allocations: 36.09 kB / 401.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.2525, allocations: 31.89 kB / 401.8 MB, free: 6.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.253, allocations: 247.6 kB / 402 MB, free: 6.352 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.065e-05/0.253, allocations: 63.2 kB / 402.1 MB, free: 6.277 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002944/0.2533, allocations: 440.8 kB / 402.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.2534, allocations: 91.48 kB / 402.6 MB, free: 6.02 MB / 330.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2534, allocations: 0 / 402.6 MB, free: 6.02 MB / 330.7 MB Notification: Performance of Templates: time 0.008519/0.2619, allocations: 8.558 MB / 411.1 MB, free: 1.395 MB / 330.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 -s gbode -gbm=radauIIA3 -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: 2.8684237259440124]