Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.0007841/0.0007841, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001824, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007062/0.0007062, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009562/0.001662, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9065/0.9065, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.155/1.061, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.405e-05, allocations: 2.312 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002518/0.002542, allocations: 1.445 MB / 223.3 MB, free: 14.71 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2349/0.2374, allocations: 143.4 MB / 366.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.2375, allocations: 0 / 366.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.2375, allocations: 7.984 kB / 366.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008355/0.2383, allocations: 354.3 kB / 367.1 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.2396, allocations: 0.7702 MB / 367.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.2397, allocations: 75.59 kB / 367.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.2397, allocations: 7.938 kB / 367.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.609e-05/0.2398, allocations: 55.88 kB / 368 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.2399, allocations: 31.89 kB / 368 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.2399, allocations: 0 / 368 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.2414, allocations: 1.25 MB / 369.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.2414, allocations: 15.92 kB / 369.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.2414, allocations: 16 kB / 369.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008918/0.2423, allocations: 0.7871 MB / 370.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.707e-05/0.2423, allocations: 0 / 370.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.2423, allocations: 0 / 370.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.2424, allocations: 0 / 370.1 MB, free: 10.81 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.0005115/0.2429, allocations: 467.2 kB / 370.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.2429, allocations: 8.031 kB / 370.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.2432, allocations: 129.9 kB / 370.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.2433, allocations: 132.5 kB / 370.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2433, allocations: 384 / 370.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.2433, allocations: 8.328 kB / 370.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/0.2434, allocations: 71.48 kB / 370.9 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2434, allocations: 3.938 kB / 370.9 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-06/0.2434, allocations: 0 / 370.9 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2434, allocations: 0 / 370.9 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.823e-05/0.2434, allocations: 21.58 kB / 370.9 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.119e-05/0.2435, allocations: 75.56 kB / 371 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.2437, allocations: 80.52 kB / 371.1 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.2437, allocations: 21.66 kB / 371.1 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.2439, allocations: 51.92 kB / 371.1 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.2439, allocations: 35.81 kB / 371.2 MB, free: 9.586 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.2439, allocations: 4 kB / 371.2 MB, free: 9.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001486/0.2441, allocations: 61.55 kB / 371.2 MB, free: 9.516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2441, allocations: 85.05 kB / 371.3 MB, free: 9.414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.2442, allocations: 132.2 kB / 371.4 MB, free: 9.273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.2442, allocations: 29.7 kB / 371.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.156e-05/0.2442, allocations: 96.05 kB / 371.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.2442, allocations: 11.86 kB / 371.6 MB, free: 9.129 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.2443, allocations: 29.69 kB / 371.6 MB, free: 9.094 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.911e-05/0.2443, allocations: 314.8 kB / 371.9 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.2443, allocations: 6.828 kB / 371.9 MB, free: 8.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/0.2444, allocations: 35.42 kB / 372 MB, free: 8.723 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.739e-05/0.2444, allocations: 57 kB / 372 MB, free: 8.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2444, allocations: 0 / 372 MB, free: 8.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.319e-05/0.2445, allocations: 75.14 kB / 372.1 MB, free: 8.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.2445, allocations: 4 kB / 372.1 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2445, allocations: 3.984 kB / 372.1 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.2445, allocations: 4 kB / 372.1 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.266e-05/0.2446, allocations: 16.06 kB / 372.1 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2446, allocations: 4.641 kB / 372.1 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.2446, allocations: 13.89 kB / 372.1 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.2446, allocations: 7.984 kB / 372.1 MB, free: 8.52 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.669e-05/0.2446, allocations: 112.6 kB / 372.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.2447, allocations: 8 kB / 372.3 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.411e-05/0.2447, allocations: 66.56 kB / 372.3 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2447, allocations: 96 / 372.3 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2448, allocations: 7.875 kB / 372.3 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2448, allocations: 3.984 kB / 372.3 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.645e-05/0.2448, allocations: 85.81 kB / 372.4 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2448, allocations: 4 kB / 372.4 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.2449, allocations: 12 kB / 372.4 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.2449, allocations: 11.94 kB / 372.4 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.2449, allocations: 0 / 372.4 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.2449, allocations: 4 kB / 372.4 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.2449, allocations: 0 / 372.4 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2449, allocations: 0 / 372.4 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.245, allocations: 107.6 kB / 372.5 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.245, allocations: 8 kB / 372.6 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.634e-05/0.2451, allocations: 4.031 kB / 372.6 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.2451, allocations: 7.984 kB / 372.6 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.2451, allocations: 0 / 372.6 MB, free: 8.031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.617e-05/0.2451, allocations: 39.48 kB / 372.6 MB, free: 7.988 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2451, allocations: 0 / 372.6 MB, free: 7.988 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003888/0.2455, allocations: 211.3 kB / 372.8 MB, free: 7.781 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 (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.0008294/0.2463, allocations: 0.5492 MB / 373.4 MB, free: 7.234 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.588e-05/0.2464, allocations: 40.77 kB / 373.4 MB, free: 7.191 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2464, allocations: 0 / 373.4 MB, free: 7.191 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.2464, allocations: 16.8 kB / 373.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.2466, allocations: 46.22 kB / 373.5 MB, free: 7.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.2481, allocations: 233.3 kB / 373.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.547e-05/0.2481, allocations: 59.34 kB / 373.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.963e-05/0.2482, allocations: 23.88 kB / 373.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.2482, allocations: 75.3 kB / 373.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2482, allocations: 0 / 373.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of Templates: time 0.008521/0.2568, allocations: 8.252 MB / 382.1 MB, free: 14.46 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_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_TX/Inverse_sh_TX.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.9912786465138197]