Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009546/0.0009546, allocations: 83.89 kB / 21.18 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009084/0.0009084, allocations: 145.1 kB / 24.54 MB, free: 24 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.898/0.898, allocations: 173.3 MB / 201.1 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.433e-05, allocations: 2.312 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00253/0.002554, allocations: 1.389 MB / 269.4 MB, free: 5.008 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2256/0.2282, allocations: 141.7 MB / 411.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.2282, allocations: 4 kB / 411.1 MB, free: 10.03 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.2282, allocations: 7.922 kB / 411.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00084/0.2291, allocations: 233.5 kB / 411.3 MB, free: 9.801 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007685/0.2299, allocations: 424.1 kB / 411.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.088e-05/0.2299, allocations: 55.66 kB / 411.8 MB, free: 9.336 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.23, allocations: 4 kB / 411.8 MB, free: 9.332 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.473e-05/0.23, allocations: 39.89 kB / 411.8 MB, free: 9.293 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.358e-05/0.2301, allocations: 23.97 kB / 411.9 MB, free: 9.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2301, allocations: 4 kB / 411.9 MB, free: 9.266 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007528/0.2309, allocations: 0.5649 MB / 412.4 MB, free: 8.699 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.2309, allocations: 7.984 kB / 412.4 MB, free: 8.691 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.2309, allocations: 19.92 kB / 412.5 MB, free: 8.672 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006102/0.2315, allocations: 0.526 MB / 413 MB, free: 8.145 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2315, allocations: 0 / 413 MB, free: 8.145 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2315, allocations: 0 / 413 MB, free: 8.145 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2315, allocations: 0 / 413 MB, free: 8.145 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.0004726/0.232, allocations: 456.3 kB / 413.4 MB, free: 7.664 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2321, allocations: 12.92 kB / 413.4 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006003/0.2327, allocations: 96.75 kB / 413.5 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.2329, allocations: 225.1 kB / 413.8 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.2329, allocations: 4.562 kB / 413.8 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.233, allocations: 11.88 kB / 413.8 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.2331, allocations: 101 kB / 413.9 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.2331, allocations: 0 / 413.9 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2331, allocations: 3.984 kB / 413.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.2331, allocations: 0 / 413.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.17e-05/0.2332, allocations: 55.81 kB / 413.9 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.2334, allocations: 152.8 kB / 414.1 MB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.2336, allocations: 142.1 kB / 414.2 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.2337, allocations: 43.36 kB / 414.3 MB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.2339, allocations: 92.58 kB / 414.3 MB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2339, allocations: 45.33 kB / 414.4 MB, free: 6.574 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.2339, allocations: 0 / 414.4 MB, free: 6.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002586/0.2342, allocations: 129.5 kB / 414.5 MB, free: 6.441 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.2342, allocations: 77.11 kB / 414.6 MB, free: 6.348 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.2343, allocations: 225.9 kB / 414.8 MB, free: 6.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.2344, allocations: 25.7 kB / 414.8 MB, free: 6.078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.2344, allocations: 134.9 kB / 415 MB, free: 5.941 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.2344, allocations: 19.84 kB / 415 MB, free: 5.922 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.2345, allocations: 39.34 kB / 415 MB, free: 5.875 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2346, allocations: 0.4884 MB / 415.5 MB, free: 5.375 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.375e-05/0.2346, allocations: 27.97 kB / 415.5 MB, free: 5.348 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.2347, allocations: 62.66 kB / 415.6 MB, free: 5.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.2348, allocations: 82.72 kB / 415.7 MB, free: 5.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2348, allocations: 3.938 kB / 415.7 MB, free: 5.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001714/0.235, allocations: 125.9 kB / 415.8 MB, free: 5.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.235, allocations: 8 kB / 415.8 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.235, allocations: 4.062 kB / 415.8 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.235, allocations: 0 / 415.8 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.2351, allocations: 27.97 kB / 415.9 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2351, allocations: 3.938 kB / 415.9 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.2352, allocations: 7.938 kB / 415.9 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.2352, allocations: 7.984 kB / 415.9 MB, free: 4.98 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.619e-05/0.2352, allocations: 160.6 kB / 416 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.2353, allocations: 16.61 kB / 416 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/0.2358, allocations: 191.1 kB / 416.2 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2358, allocations: 4 kB / 416.2 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2358, allocations: 3.375 kB / 416.2 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2358, allocations: 0 / 416.2 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.2359, allocations: 138.1 kB / 416.4 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2359, allocations: 0 / 416.4 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.572e-05/0.236, allocations: 31.84 kB / 416.4 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.236, allocations: 0 / 416.4 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.236, allocations: 7.938 kB / 416.4 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.236, allocations: 4 kB / 416.4 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.236, allocations: 0 / 416.4 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.2362, allocations: 167.2 kB / 416.6 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.2363, allocations: 51.81 kB / 416.6 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.2363, allocations: 3.938 kB / 416.6 MB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.2364, allocations: 4 kB / 416.6 MB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.2364, allocations: 7.984 kB / 416.6 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.2364, allocations: 7.984 kB / 416.7 MB, free: 4.133 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.89e-05/0.2365, allocations: 183.1 kB / 416.8 MB, free: 3.953 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2365, allocations: 0 / 416.8 MB, free: 3.953 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003308/0.2369, allocations: 139.6 kB / 417 MB, free: 3.816 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.0005492/0.2374, allocations: 326.6 kB / 417.3 MB, free: 3.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.2376, allocations: 74.09 kB / 417.4 MB, free: 3.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2376, allocations: 0 / 417.4 MB, free: 3.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6e-05/0.2376, allocations: 51.66 kB / 417.4 MB, free: 3.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.2378, allocations: 32.05 kB / 417.4 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.2384, allocations: 274 kB / 417.7 MB, free: 3.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.2385, allocations: 63.97 kB / 417.8 MB, free: 2.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003478/0.2388, allocations: 429.6 kB / 418.2 MB, free: 2.555 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.041e-05/0.2389, allocations: 40.45 kB / 418.2 MB, free: 2.512 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2389, allocations: 4 kB / 418.2 MB, free: 2.508 MB / 362.7 MB Notification: Performance of Templates: time 0.006749/0.2457, allocations: 5.65 MB / 423.9 MB, free: 12.88 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.2214638930745423]