Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007877/0.0007877, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001678/0.002466, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.00249, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9262/0.9262, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07837/1.005, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.959e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002308/0.002328, allocations: 1.449 MB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2354/0.2377, allocations: 144.4 MB / 391 MB, free: 5.816 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.2377, allocations: 0 / 391 MB, free: 5.816 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.2378, allocations: 3.984 kB / 391 MB, free: 5.812 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006694/0.2384, allocations: 243.7 kB / 391.3 MB, free: 5.582 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/0.2392, allocations: 388 kB / 391.7 MB, free: 5.215 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.143e-05/0.2393, allocations: 55.67 kB / 391.7 MB, free: 5.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.2393, allocations: 11.91 kB / 391.7 MB, free: 5.148 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.442e-05/0.2394, allocations: 33.47 kB / 391.8 MB, free: 5.117 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.026e-05/0.2395, allocations: 31.89 kB / 391.8 MB, free: 5.086 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.2395, allocations: 4 kB / 391.8 MB, free: 5.082 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008222/0.2403, allocations: 0.6041 MB / 392.4 MB, free: 4.477 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.2403, allocations: 7.938 kB / 392.4 MB, free: 4.469 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.2403, allocations: 12 kB / 392.4 MB, free: 4.457 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.2409, allocations: 462.8 kB / 392.9 MB, free: 4.004 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.2409, allocations: 0 / 392.9 MB, free: 4.004 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2409, allocations: 0 / 392.9 MB, free: 4.004 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2409, allocations: 4 kB / 392.9 MB, free: 4 MB / 362.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.0004041/0.2413, allocations: 392.4 kB / 393.3 MB, free: 3.594 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2414, allocations: 8.625 kB / 393.3 MB, free: 3.586 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006771/0.242, allocations: 207.3 kB / 393.5 MB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.2422, allocations: 202.4 kB / 393.7 MB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.2423, allocations: 4.562 kB / 393.7 MB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.2423, allocations: 7.938 kB / 393.7 MB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.2424, allocations: 96.23 kB / 393.8 MB, free: 3.023 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.2424, allocations: 4 kB / 393.8 MB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2424, allocations: 0 / 393.8 MB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2424, allocations: 0 / 393.8 MB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.499e-05/0.2425, allocations: 35.94 kB / 393.8 MB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.2426, allocations: 87.41 kB / 393.9 MB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.2428, allocations: 105.1 kB / 394 MB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.2428, allocations: 30.95 kB / 394 MB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.243, allocations: 92.58 kB / 394.1 MB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.243, allocations: 34.5 kB / 394.2 MB, free: 2.594 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.243, allocations: 8 kB / 394.2 MB, free: 2.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001596/0.2431, allocations: 97.98 kB / 394.3 MB, free: 2.484 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.2432, allocations: 81.11 kB / 394.3 MB, free: 2.387 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.061e-05/0.2433, allocations: 151.6 kB / 394.5 MB, free: 2.227 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.2433, allocations: 25.7 kB / 394.5 MB, free: 2.195 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.2433, allocations: 92.11 kB / 394.6 MB, free: 2.102 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.2433, allocations: 19.86 kB / 394.6 MB, free: 2.082 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.2434, allocations: 33.67 kB / 394.7 MB, free: 2.043 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.2434, allocations: 310.8 kB / 395 MB, free: 1.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.077e-05/0.2435, allocations: 27.97 kB / 395 MB, free: 1.703 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/0.2435, allocations: 43.41 kB / 395 MB, free: 1.648 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.076e-05/0.2436, allocations: 72.08 kB / 395.1 MB, free: 1.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2436, allocations: 0 / 395.1 MB, free: 1.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001029/0.2437, allocations: 89.52 kB / 395.2 MB, free: 1.473 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2437, allocations: 4 kB / 395.2 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2437, allocations: 7.938 kB / 395.2 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.2437, allocations: 4.531 kB / 395.2 MB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.2438, allocations: 31.95 kB / 395.2 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2438, allocations: 3.078 kB / 395.2 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.2439, allocations: 11.92 kB / 395.2 MB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.2439, allocations: 11.98 kB / 395.3 MB, free: 1.402 MB / 362.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 5.707e-05/0.2439, allocations: 113.8 kB / 395.4 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.2439, allocations: 0 / 395.4 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.2442, allocations: 186.6 kB / 395.6 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2442, allocations: 4 kB / 395.6 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.2442, allocations: 0 / 395.6 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2442, allocations: 0 / 395.6 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.617e-05/0.2443, allocations: 84.72 kB / 395.6 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2443, allocations: 4.875 kB / 395.6 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.2443, allocations: 23.95 kB / 395.7 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.2444, allocations: 47.83 kB / 395.7 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2444, allocations: 0 / 395.7 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.2444, allocations: 3.984 kB / 395.7 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2444, allocations: 7.938 kB / 395.7 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2444, allocations: 5.375 kB / 395.7 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.2445, allocations: 123.5 kB / 395.9 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.2446, allocations: 11.98 kB / 395.9 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.2446, allocations: 0 / 395.9 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.2447, allocations: 11.92 kB / 395.9 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.2447, allocations: 4 kB / 395.9 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.976e-05/0.2447, allocations: 56.8 kB / 395.9 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2447, allocations: 0 / 395.9 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.245, allocations: 147.5 kB / 396.1 MB, free: 0.5273 MB / 362.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.0006613/0.2457, allocations: 319.8 kB / 396.4 MB, free: 216 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.2458, allocations: 64.73 kB / 396.5 MB, free: 148 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2458, allocations: 4.188 kB / 396.5 MB, free: 144 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.785e-05/0.2458, allocations: 38.66 kB / 396.5 MB, free: 104 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.246, allocations: 93.77 kB / 396.6 MB, free: 0 / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.2472, allocations: 236.5 kB / 396.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.511e-05/0.2473, allocations: 59.36 kB / 396.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003262/0.2476, allocations: 428.1 kB / 397.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.2477, allocations: 91.31 kB / 397.4 MB, free: 15.17 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2477, allocations: 0 / 397.4 MB, free: 15.17 MB / 378.7 MB Notification: Performance of Templates: time 0.007836/0.2555, allocations: 7.734 MB / 405.1 MB, free: 7.508 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6779342982918024]