Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.001244/0.001244, allocations: 83.75 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001221/0.001221, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 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.9642/0.9642, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.822e-05, allocations: 2.312 kB / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002768/0.002796, allocations: 1.396 MB / 274.4 MB, free: 8 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005579/0.008375, allocations: 4.068 MB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.008414, allocations: 3.938 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.008443, allocations: 0 / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.009639, allocations: 306.7 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.0109, allocations: 0.5173 MB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.011, allocations: 59.66 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.01104, allocations: 7.984 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.01117, allocations: 43.84 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007149/0.01188, allocations: 367.2 kB / 279.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.0119, allocations: 4 kB / 279.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009691/0.01287, allocations: 0.5378 MB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.01288, allocations: 15.86 kB / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.01292, allocations: 15.98 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.01583, allocations: 494.6 kB / 280.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.01584, allocations: 0 / 280.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01584, allocations: 0 / 280.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.01584, allocations: 0 / 280.8 MB, free: 9.562 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.0005237/0.01637, allocations: 463.6 kB / 281.2 MB, free: 9.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.01641, allocations: 12.03 kB / 281.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.01646, allocations: 4.938 kB / 281.2 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.01668, allocations: 140.4 kB / 281.4 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.0167, allocations: 384 / 281.4 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.01672, allocations: 12.31 kB / 281.4 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.01687, allocations: 78.06 kB / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.01688, allocations: 0 / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.01689, allocations: 0 / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.0169, allocations: 4 kB / 281.5 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.499e-05/0.01695, allocations: 15.92 kB / 281.5 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.01711, allocations: 136.4 kB / 281.6 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.01737, allocations: 86.09 kB / 281.7 MB, free: 8.488 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.0174, allocations: 27.44 kB / 281.7 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/0.01773, allocations: 127.9 kB / 281.9 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.01776, allocations: 41.38 kB / 281.9 MB, free: 8.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.01776, allocations: 0 / 281.9 MB, free: 8.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002312/0.01799, allocations: 81.86 kB / 282 MB, free: 8.191 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.01804, allocations: 77.11 kB / 282 MB, free: 8.098 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.01815, allocations: 169.9 kB / 282.2 MB, free: 7.914 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.01816, allocations: 29.7 kB / 282.2 MB, free: 7.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.0182, allocations: 126.9 kB / 282.4 MB, free: 7.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.01824, allocations: 31.78 kB / 282.4 MB, free: 7.719 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.01829, allocations: 27.38 kB / 282.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.01846, allocations: 0.4884 MB / 282.9 MB, free: 7.184 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-05/0.01849, allocations: 4 kB / 282.9 MB, free: 7.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.01854, allocations: 50.67 kB / 283 MB, free: 7.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.42e-05/0.01863, allocations: 54.73 kB / 283 MB, free: 7.043 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01863, allocations: 0 / 283 MB, free: 7.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001454/0.01878, allocations: 81.52 kB / 283.1 MB, free: 6.957 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.0188, allocations: 8 kB / 283.1 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.0188, allocations: 3.938 kB / 283.1 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.01882, allocations: 3.984 kB / 283.1 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.01888, allocations: 12 kB / 283.1 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.01889, allocations: 4 kB / 283.1 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.769e-05/0.01893, allocations: 4 kB / 283.1 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.01894, allocations: 7.984 kB / 283.1 MB, free: 6.914 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 9.529e-05/0.01904, allocations: 160.5 kB / 283.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.01906, allocations: 11.95 kB / 283.3 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.01931, allocations: 109.2 kB / 283.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.01932, allocations: 0 / 283.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.01932, allocations: 3.938 kB / 283.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.01933, allocations: 4 kB / 283.4 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.01944, allocations: 128.5 kB / 283.6 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.01945, allocations: 0 / 283.6 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.137e-05/0.01952, allocations: 11.98 kB / 283.6 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01952, allocations: 4 kB / 283.6 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.01953, allocations: 4 kB / 283.6 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.01954, allocations: 7.938 kB / 283.6 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.01954, allocations: 4 kB / 283.6 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.01974, allocations: 124 kB / 283.7 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.01977, allocations: 15.94 kB / 283.7 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.01979, allocations: 4 kB / 283.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.01983, allocations: 11.92 kB / 283.7 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.01987, allocations: 8 kB / 283.7 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.01988, allocations: 3.984 kB / 283.7 MB, free: 6.238 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.712e-05/0.01994, allocations: 127.2 kB / 283.9 MB, free: 6.113 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01994, allocations: 0 / 283.9 MB, free: 6.113 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004736/0.02041, allocations: 143.6 kB / 284 MB, free: 5.973 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.0005464/0.02096, allocations: 309.6 kB / 284.3 MB, free: 5.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.02109, allocations: 43.59 kB / 284.4 MB, free: 5.613 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.0211, allocations: 0 / 284.4 MB, free: 5.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.053e-05/0.02116, allocations: 32.45 kB / 284.4 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.0214, allocations: 8 kB / 284.4 MB, free: 5.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008305/0.02224, allocations: 265.9 kB / 284.7 MB, free: 5.277 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.185e-05/0.02228, allocations: 63.28 kB / 284.7 MB, free: 5.195 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.952e-05/0.02235, allocations: 31.33 kB / 284.7 MB, free: 5.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.02239, allocations: 24.48 kB / 284.8 MB, free: 5.145 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02239, allocations: 0 / 284.8 MB, free: 5.145 MB / 266.7 MB Notification: Performance of Templates: time 0.007145/0.02954, allocations: 3.181 MB / 288 MB, free: 2.004 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8741265842691064]