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.002245/0.002245, allocations: 99.86 kB / 20.97 MB, free: 3.457 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.002483/0.002483, allocations: 145.1 kB / 24.26 MB, free: 168 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 1.639/1.639, allocations: 173.3 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] 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.844e-06/1.844e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.163e-05/4.347e-05, allocations: 6.25 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00298/0.003023, allocations: 1.358 MB / 268.7 MB, free: 5.371 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006999/0.01002, allocations: 4.009 MB / 272.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.01009, allocations: 0 / 272.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.01012, allocations: 7.922 kB / 272.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.01168, allocations: 302.7 kB / 273 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.01322, allocations: 0.5134 MB / 273.5 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.01335, allocations: 55.66 kB / 273.5 MB, free: 472 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.0134, allocations: 7.984 kB / 273.5 MB, free: 464 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.01357, allocations: 47.83 kB / 273.6 MB, free: 416 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008615/0.01443, allocations: 363.2 kB / 274 MB, free: 52 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.01446, allocations: 4 kB / 274 MB, free: 48 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.01578, allocations: 0.5416 MB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.01581, allocations: 3.938 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.01585, allocations: 19.98 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.01706, allocations: 478.7 kB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.01706, allocations: 4 kB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01706, allocations: 7.938 kB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.01707, allocations: 0 / 275 MB, free: 15 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.0007087/0.01778, allocations: 463.3 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.01782, allocations: 12.03 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.01787, allocations: 4.891 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.0181, allocations: 140.5 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.01812, allocations: 4.312 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.01814, allocations: 4.375 kB / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.01831, allocations: 69.36 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.01832, allocations: 0 / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.01833, allocations: 7.938 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.01833, allocations: 4 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.133e-05/0.01842, allocations: 23.91 kB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.01864, allocations: 124.3 kB / 275.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.01899, allocations: 94.25 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/0.01907, allocations: 31.41 kB / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004515/0.01952, allocations: 131.8 kB / 276.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.01956, allocations: 37.39 kB / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.01956, allocations: 0 / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003265/0.01989, allocations: 85.53 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.01995, allocations: 81.11 kB / 276.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.02011, allocations: 177.9 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.02013, allocations: 25.7 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.02021, allocations: 126.9 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.02026, allocations: 27.75 kB / 276.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.02032, allocations: 27.36 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002863/0.02061, allocations: 0.4884 MB / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.02067, allocations: 11.98 kB / 277.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.64e-05/0.02075, allocations: 46.73 kB / 277.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.02091, allocations: 74.67 kB / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.02091, allocations: 4 kB / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002094/0.02112, allocations: 81.55 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.02114, allocations: 4 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.02115, allocations: 3.938 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.02116, allocations: 4 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.47e-05/0.02124, allocations: 15.98 kB / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.02125, allocations: 0 / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.0213, allocations: 7.953 kB / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.02132, allocations: 8.062 kB / 277.4 MB, free: 12.32 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 0.0001273/0.02145, allocations: 160.5 kB / 277.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.02147, allocations: 4 kB / 277.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003523/0.02183, allocations: 121.2 kB / 277.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.02184, allocations: 4 kB / 277.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.02184, allocations: 0.5625 kB / 277.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.02184, allocations: 0 / 277.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.022, allocations: 128.5 kB / 277.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.02201, allocations: 7.938 kB / 277.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.249e-05/0.02209, allocations: 19.98 kB / 277.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.02209, allocations: 0 / 277.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.02211, allocations: 8 kB / 277.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.02211, allocations: 3.938 kB / 277.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02211, allocations: 0 / 277.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.02244, allocations: 144 kB / 278 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.02247, allocations: 7.984 kB / 278 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.02249, allocations: 4 kB / 278 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.153e-05/0.02253, allocations: 7.938 kB / 278 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.02258, allocations: 3.984 kB / 278 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.02259, allocations: 8.031 kB / 278 MB, free: 11.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.703e-05/0.02268, allocations: 135.7 kB / 278.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02268, allocations: 0 / 278.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005163/0.0232, allocations: 131.5 kB / 278.3 MB, free: 11.36 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.0008309/0.02403, allocations: 313 kB / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.02426, allocations: 51.58 kB / 278.6 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.02426, allocations: 0 / 278.6 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.771e-05/0.02436, allocations: 35.61 kB / 278.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.02458, allocations: 23.44 kB / 278.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.02515, allocations: 257.7 kB / 279 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.389e-05/0.02523, allocations: 67.34 kB / 279 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.626e-05/0.02531, allocations: 35.78 kB / 279.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.02536, allocations: 20.48 kB / 279.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02536, allocations: 0 / 279.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Templates: time 0.008447/0.03381, allocations: 3.139 MB / 282.2 MB, free: 7.414 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.55883091094438]