Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007378/0.0007378, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001797, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007048/0.0007048, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009196/0.001624, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9398/0.9398, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07232/1.012, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.223e-06/8.475e-06, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001349/0.001358, allocations: 1.449 MB / 246.2 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2396/0.2409, allocations: 144.4 MB / 390.5 MB, free: 6.832 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.241, allocations: 0 / 390.5 MB, free: 6.832 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.241, allocations: 7.922 kB / 390.6 MB, free: 6.824 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006453/0.2416, allocations: 239.2 kB / 390.8 MB, free: 6.598 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007037/0.2423, allocations: 388 kB / 391.2 MB, free: 6.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 8.583e-05/0.2424, allocations: 59.67 kB / 391.2 MB, free: 6.172 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.2425, allocations: 11.92 kB / 391.2 MB, free: 6.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.2425, allocations: 35.97 kB / 391.3 MB, free: 6.125 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.323e-05/0.2426, allocations: 31.89 kB / 391.3 MB, free: 6.094 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.2426, allocations: 4 kB / 391.3 MB, free: 6.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008144/0.2434, allocations: 0.608 MB / 391.9 MB, free: 5.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.2435, allocations: 8.562 kB / 391.9 MB, free: 5.473 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.2435, allocations: 12 kB / 391.9 MB, free: 5.461 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.244, allocations: 458.9 kB / 392.4 MB, free: 5.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.181e-05/0.244, allocations: 4 kB / 392.4 MB, free: 5.008 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.244, allocations: 4 kB / 392.4 MB, free: 5.004 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.2441, allocations: 0 / 392.4 MB, free: 5.004 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.0004298/0.2445, allocations: 388.4 kB / 392.8 MB, free: 4.602 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.677e-05/0.2445, allocations: 8.031 kB / 392.8 MB, free: 4.594 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006913/0.2452, allocations: 202.3 kB / 393 MB, free: 4.379 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.2454, allocations: 202.4 kB / 393.2 MB, free: 4.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.2454, allocations: 4.562 kB / 393.2 MB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.2455, allocations: 11.88 kB / 393.2 MB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.2456, allocations: 91.31 kB / 393.3 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.2456, allocations: 0 / 393.3 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2456, allocations: 0 / 393.3 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2456, allocations: 0 / 393.3 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.969e-05/0.2457, allocations: 39.89 kB / 393.3 MB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.2458, allocations: 83.03 kB / 393.4 MB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.246, allocations: 105.1 kB / 393.5 MB, free: 3.777 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.246, allocations: 33.69 kB / 393.5 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.2462, allocations: 94.08 kB / 393.6 MB, free: 3.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.2462, allocations: 42.5 kB / 393.7 MB, free: 3.598 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.2462, allocations: 0 / 393.7 MB, free: 3.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001671/0.2463, allocations: 99.3 kB / 393.8 MB, free: 3.496 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.2464, allocations: 85.11 kB / 393.8 MB, free: 3.395 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.162e-05/0.2465, allocations: 146.7 kB / 394 MB, free: 3.238 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.2465, allocations: 29.7 kB / 394 MB, free: 3.203 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.2465, allocations: 92.11 kB / 394.1 MB, free: 3.109 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.2465, allocations: 15.86 kB / 394.1 MB, free: 3.094 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.2466, allocations: 33.67 kB / 394.2 MB, free: 3.055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.2467, allocations: 314.8 kB / 394.5 MB, free: 2.738 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.2467, allocations: 19.97 kB / 394.5 MB, free: 2.719 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.337e-05/0.2467, allocations: 44.11 kB / 394.5 MB, free: 2.664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.293e-05/0.2468, allocations: 71.31 kB / 394.6 MB, free: 2.582 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2468, allocations: 0 / 394.6 MB, free: 2.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001071/0.2469, allocations: 93.52 kB / 394.7 MB, free: 2.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2469, allocations: 6.5 kB / 394.7 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2469, allocations: 7.938 kB / 394.7 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2469, allocations: 0 / 394.7 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.014e-05/0.247, allocations: 33.27 kB / 394.7 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.247, allocations: 1.016 kB / 394.7 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.341e-05/0.2471, allocations: 11.92 kB / 394.7 MB, free: 2.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.2471, allocations: 11.98 kB / 394.8 MB, free: 2.418 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 6.011e-05/0.2472, allocations: 113.8 kB / 394.9 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.2472, allocations: 8 kB / 394.9 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.2474, allocations: 171 kB / 395 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.2474, allocations: 4 kB / 395 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.2474, allocations: 0 / 395 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2474, allocations: 1.688 kB / 395 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.781e-05/0.2475, allocations: 92.75 kB / 395.1 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2475, allocations: 7.984 kB / 395.1 MB, free: 2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.2476, allocations: 23.95 kB / 395.2 MB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.2477, allocations: 47.84 kB / 395.2 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2477, allocations: 0 / 395.2 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2477, allocations: 3.984 kB / 395.2 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2477, allocations: 11.88 kB / 395.2 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2477, allocations: 0 / 395.2 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.2478, allocations: 131.5 kB / 395.4 MB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.2479, allocations: 0 / 395.4 MB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.2479, allocations: 4.859 kB / 395.4 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.2479, allocations: 15.86 kB / 395.4 MB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.2479, allocations: 4 kB / 395.4 MB, free: 1.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.315e-05/0.248, allocations: 59.03 kB / 395.4 MB, free: 1.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.248, allocations: 0 / 395.4 MB, free: 1.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003199/0.2483, allocations: 143.5 kB / 395.6 MB, free: 1.539 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.0004361/0.2488, allocations: 329.7 kB / 395.9 MB, free: 1.211 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.2489, allocations: 60.69 kB / 396 MB, free: 1.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2489, allocations: 0 / 396 MB, free: 1.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.2489, allocations: 34.69 kB / 396 MB, free: 1.113 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.2491, allocations: 99.34 kB / 396.1 MB, free: 1.004 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.2503, allocations: 224.4 kB / 396.3 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.747e-05/0.2504, allocations: 59.36 kB / 396.4 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003279/0.2507, allocations: 437.3 kB / 396.8 MB, free: 272 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.2508, allocations: 91.3 kB / 396.9 MB, free: 180 kB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2508, allocations: 0 / 396.9 MB, free: 180 kB / 362.7 MB Notification: Performance of Templates: time 0.007946/0.2588, allocations: 7.741 MB / 404.6 MB, free: 8.492 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6954524032771587]