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.0009029/0.0009029, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001255/0.001255, allocations: 141.1 kB / 24.54 MB, free: 36 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.8864/0.8864, allocations: 173.3 MB / 201.1 MB, free: 9.289 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.323e-06/1.323e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.288e-05, allocations: 6.25 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001594/0.001616, allocations: 1.389 MB / 269.4 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2256/0.2272, allocations: 141.7 MB / 411.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.2273, allocations: 0 / 411.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.2273, allocations: 7.922 kB / 411.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008595/0.2282, allocations: 237.8 kB / 411.3 MB, free: 9.812 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008072/0.229, allocations: 424.2 kB / 411.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.817e-05/0.2291, allocations: 55.67 kB / 411.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.2291, allocations: 0 / 411.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.706e-05/0.2292, allocations: 43.89 kB / 411.8 MB, free: 9.305 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.2292, allocations: 19.97 kB / 411.9 MB, free: 9.285 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.2292, allocations: 4 kB / 411.9 MB, free: 9.281 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008571/0.2301, allocations: 0.5688 MB / 412.4 MB, free: 8.711 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.2301, allocations: 7.984 kB / 412.4 MB, free: 8.703 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.2302, allocations: 19.92 kB / 412.5 MB, free: 8.684 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007347/0.2309, allocations: 0.526 MB / 413 MB, free: 8.156 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2309, allocations: 0 / 413 MB, free: 8.156 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2309, allocations: 0 / 413 MB, free: 8.156 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2309, allocations: 4 kB / 413 MB, free: 8.152 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.00046/0.2314, allocations: 456.3 kB / 413.4 MB, free: 7.672 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2314, allocations: 8.922 kB / 413.4 MB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000622/0.232, allocations: 96.75 kB / 413.5 MB, free: 7.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.2323, allocations: 229.1 kB / 413.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.2323, allocations: 0.5625 kB / 413.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.2323, allocations: 7.938 kB / 413.8 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.2325, allocations: 104.9 kB / 413.9 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2325, allocations: 7.938 kB / 413.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.2325, allocations: 0 / 413.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.2325, allocations: 4 kB / 413.9 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.946e-05/0.2326, allocations: 39.95 kB / 413.9 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.2328, allocations: 160.8 kB / 414.1 MB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.2332, allocations: 134.1 kB / 414.2 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.2332, allocations: 43.36 kB / 414.3 MB, free: 6.738 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/0.2334, allocations: 92.58 kB / 414.3 MB, free: 6.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.2335, allocations: 53.31 kB / 414.4 MB, free: 6.586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.2335, allocations: 0 / 414.4 MB, free: 6.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002711/0.2337, allocations: 125.8 kB / 414.5 MB, free: 6.457 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.2338, allocations: 85.09 kB / 414.6 MB, free: 6.355 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.2342, allocations: 225.9 kB / 414.8 MB, free: 6.117 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.2342, allocations: 25.7 kB / 414.8 MB, free: 6.086 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.2342, allocations: 130.9 kB / 415 MB, free: 5.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.2343, allocations: 19.86 kB / 415 MB, free: 5.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.2343, allocations: 35.34 kB / 415 MB, free: 5.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2344, allocations: 496.1 kB / 415.5 MB, free: 5.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.944e-05/0.2345, allocations: 31.97 kB / 415.5 MB, free: 5.363 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-05/0.2345, allocations: 66.64 kB / 415.6 MB, free: 5.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.2346, allocations: 90.7 kB / 415.7 MB, free: 5.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2346, allocations: 0 / 415.7 MB, free: 5.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000175/0.2348, allocations: 121.4 kB / 415.8 MB, free: 5.051 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2348, allocations: 4 kB / 415.8 MB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2348, allocations: 4.062 kB / 415.8 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2348, allocations: 4 kB / 415.8 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.2349, allocations: 23.97 kB / 415.9 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2349, allocations: 4 kB / 415.9 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.121e-05/0.235, allocations: 11.88 kB / 415.9 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.235, allocations: 11.98 kB / 415.9 MB, free: 4.988 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.419e-05/0.2351, allocations: 152.6 kB / 416 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.2351, allocations: 16.58 kB / 416 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.2354, allocations: 191.2 kB / 416.2 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2354, allocations: 0 / 416.2 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.2354, allocations: 7.375 kB / 416.2 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2354, allocations: 3.938 kB / 416.2 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.2355, allocations: 142.1 kB / 416.4 MB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.2355, allocations: 0 / 416.4 MB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.321e-05/0.2356, allocations: 23.91 kB / 416.4 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2356, allocations: 0 / 416.4 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2356, allocations: 7.922 kB / 416.4 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.2356, allocations: 4 kB / 416.4 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2356, allocations: 4 kB / 416.4 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.2358, allocations: 164 kB / 416.6 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.2359, allocations: 43.81 kB / 416.6 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.2359, allocations: 11.94 kB / 416.6 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.358e-05/0.236, allocations: 3.984 kB / 416.6 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.236, allocations: 7.984 kB / 416.6 MB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.236, allocations: 4 kB / 416.7 MB, free: 4.148 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.554e-05/0.2361, allocations: 187.1 kB / 416.8 MB, free: 3.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2361, allocations: 0 / 416.8 MB, free: 3.965 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003488/0.2365, allocations: 135.6 kB / 417 MB, free: 3.832 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.0005634/0.237, allocations: 329.6 kB / 417.3 MB, free: 3.516 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.2372, allocations: 75.56 kB / 417.4 MB, free: 3.438 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.2372, allocations: 0 / 417.4 MB, free: 3.438 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.953e-05/0.2372, allocations: 47.73 kB / 417.4 MB, free: 3.387 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.2374, allocations: 36.11 kB / 417.4 MB, free: 3.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.2381, allocations: 273.1 kB / 417.7 MB, free: 3.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.555e-05/0.2381, allocations: 63.97 kB / 417.8 MB, free: 2.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003428/0.2384, allocations: 433.9 kB / 418.2 MB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.026e-05/0.2385, allocations: 40.44 kB / 418.2 MB, free: 2.523 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2385, allocations: 4 kB / 418.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of Templates: time 0.008744/0.2473, allocations: 7.94 MB / 426.2 MB, free: 10.64 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.0255705690942705]