Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.0009378/0.0009378, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008848/0.0008848, allocations: 142.1 kB / 24.89 MB, free: 8.777 MB / 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.9923/0.9923, allocations: 173.4 MB / 201.5 MB, free: 8.75 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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 268.5 MB, free: 6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.384e-05, allocations: 5.688 kB / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001958/0.001982, allocations: 1.431 MB / 269.9 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003603/0.005586, allocations: 4.005 MB / 273.9 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.005614, allocations: 4 kB / 273.9 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.005631, allocations: 7.922 kB / 273.9 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007248/0.006356, allocations: 290.7 kB / 274.2 MB, free: 232 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006571/0.007013, allocations: 497.8 kB / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.442e-05/0.007087, allocations: 63.66 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.084e-05/0.007118, allocations: 3.984 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005627/0.007681, allocations: 435.1 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.263e-05/0.007713, allocations: 23.91 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.007723, allocations: 4 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.008356, allocations: 0.569 MB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.008369, allocations: 11.92 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.008387, allocations: 15.98 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.008879, allocations: 478.7 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.00888, allocations: 3.938 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.008881, allocations: 0 / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.008885, allocations: 4 kB / 276.3 MB, free: 14.14 MB / 266.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.0003085/0.009193, allocations: 343.9 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.009228, allocations: 12.03 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.009252, allocations: 4.938 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.009352, allocations: 117.7 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.009365, allocations: 4.375 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.009378, allocations: 4.375 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.005e-05/0.009468, allocations: 72.34 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.009474, allocations: 7.938 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.00948, allocations: 4 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.009484, allocations: 4 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.304e-05/0.009507, allocations: 11.98 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.599e-05/0.009593, allocations: 81.91 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.009721, allocations: 57.12 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.009741, allocations: 21.7 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.009951, allocations: 131.9 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.00997, allocations: 34.56 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.009971, allocations: 0 / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 9.537e-05/0.01007, allocations: 61.61 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.0101, allocations: 85.05 kB / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.332e-05/0.01015, allocations: 118.6 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.01017, allocations: 25.7 kB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.113e-05/0.01019, allocations: 88.12 kB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.01021, allocations: 23.73 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.01024, allocations: 25.7 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.99e-05/0.01031, allocations: 314.8 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.01032, allocations: 8 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.01035, allocations: 31.42 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.392e-05/0.01039, allocations: 51.34 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.01039, allocations: 4 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.274e-05/0.01046, allocations: 61.59 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.01047, allocations: 4 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01047, allocations: 4 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.01048, allocations: 0 / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.006e-05/0.01052, allocations: 19.88 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.01053, allocations: 12.05 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.01055, allocations: 4 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.01056, allocations: 4.469 kB / 278.1 MB, free: 12.12 MB / 266.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.608e-05/0.0106, allocations: 109.8 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-06/0.01061, allocations: 4 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.01074, allocations: 104.7 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01074, allocations: 96 / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01075, allocations: 11.92 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.01075, allocations: 0 / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.262e-05/0.01081, allocations: 92.61 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01081, allocations: 0 / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.01085, allocations: 15.92 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.01085, allocations: 0 / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.01086, allocations: 4 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.01086, allocations: 0 / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01086, allocations: 0 / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.01097, allocations: 115.5 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.01098, allocations: 11.98 kB / 278.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.01099, allocations: 0 / 278.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.573e-05/0.01101, allocations: 15.97 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.01103, allocations: 3.984 kB / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.01104, allocations: 7.938 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.424e-05/0.01105, allocations: 20.84 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01105, allocations: 0 / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002204/0.01127, allocations: 127.5 kB / 278.8 MB, free: 11.43 MB / 266.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 (7): * Single equations (assignments): 6 * 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.0004027/0.01168, allocations: 301.9 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.296e-05/0.01175, allocations: 48.83 kB / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.01175, allocations: 0 / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.065e-05/0.01178, allocations: 24.78 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.553e-05/0.01187, allocations: 8 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.01232, allocations: 244.1 kB / 279.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.797e-05/0.01234, allocations: 55.36 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.608e-05/0.01239, allocations: 35.83 kB / 279.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.01245, allocations: 75.28 kB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01245, allocations: 0 / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of Templates: time 0.004549/0.017, allocations: 3.675 MB / 283.2 MB, free: 6.977 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_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: 2.696601426228881]