Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009901/0.0009901, allocations: 85.95 kB / 23 MB, free: 1.504 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.001001/0.001001, allocations: 175.6 kB / 26.4 MB, free: 7.98 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8307/0.8307, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.305e-05, allocations: 6.312 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002033/0.002046, allocations: 1.378 MB / 253.6 MB, free: 5.867 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008067/0.01011, allocations: 7.043 MB / 260.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.01015, allocations: 0 / 260.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.01017, allocations: 0 / 260.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009646/0.01113, allocations: 310.7 kB / 261 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.01249, allocations: 0.7121 MB / 261.7 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.018e-05/0.01258, allocations: 63.66 kB / 261.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.909e-05/0.01261, allocations: 3.984 kB / 261.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007335/0.01335, allocations: 451.1 kB / 262.2 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.062e-05/0.01339, allocations: 23.91 kB / 262.2 MB, free: 13.24 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.0134, allocations: 8 kB / 262.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.01446, allocations: 0.7249 MB / 262.9 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.01447, allocations: 11.92 kB / 263 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.0145, allocations: 12 kB / 263 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008303/0.01533, allocations: 0.6156 MB / 263.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.01533, allocations: 0 / 263.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01533, allocations: 0 / 263.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.01533, allocations: 0 / 263.6 MB, free: 11.86 MB / 250.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.0004341/0.01577, allocations: 499.2 kB / 264.1 MB, free: 11.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.0158, allocations: 19.98 kB / 264.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.01584, allocations: 8.938 kB / 264.1 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.01595, allocations: 128.5 kB / 264.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.01596, allocations: 4.375 kB / 264.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.01598, allocations: 384 / 264.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.01608, allocations: 74.33 kB / 264.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.01609, allocations: 4.188 kB / 264.3 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.0161, allocations: 4.125 kB / 264.3 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.0161, allocations: 0 / 264.3 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.57e-05/0.01614, allocations: 23.89 kB / 264.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.01626, allocations: 108.9 kB / 264.4 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.01644, allocations: 94.25 kB / 264.5 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.01647, allocations: 23.31 kB / 264.6 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.01674, allocations: 127.9 kB / 264.7 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.01677, allocations: 37.39 kB / 264.7 MB, free: 10.58 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.01677, allocations: 0 / 264.7 MB, free: 10.58 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001472/0.01692, allocations: 69.56 kB / 264.8 MB, free: 10.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.01696, allocations: 77.11 kB / 264.9 MB, free: 10.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.01704, allocations: 173.8 kB / 265 MB, free: 10.22 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.01706, allocations: 33.7 kB / 265.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.0171, allocations: 134.8 kB / 265.2 MB, free: 10.05 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.01713, allocations: 23.8 kB / 265.2 MB, free: 10.02 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.01717, allocations: 19.38 kB / 265.2 MB, free: 9.996 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003534/0.01752, allocations: 0.4923 MB / 265.7 MB, free: 9.492 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.01754, allocations: 4 kB / 265.7 MB, free: 9.488 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.303e-05/0.01758, allocations: 54.66 kB / 265.8 MB, free: 9.418 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.266e-05/0.01764, allocations: 54.67 kB / 265.8 MB, free: 9.348 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01764, allocations: 4 kB / 265.8 MB, free: 9.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001121/0.01776, allocations: 73.56 kB / 265.9 MB, free: 9.266 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.01777, allocations: 4 kB / 265.9 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01777, allocations: 4 kB / 265.9 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.01778, allocations: 480 / 265.9 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.325e-05/0.01783, allocations: 12 kB / 265.9 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.01784, allocations: 7.922 kB / 265.9 MB, free: 9.238 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.01787, allocations: 7.938 kB / 265.9 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.01788, allocations: 8 kB / 266 MB, free: 9.223 MB / 250.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.501e-05/0.01795, allocations: 156.6 kB / 266.1 MB, free: 9.059 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.01796, allocations: 7.953 kB / 266.1 MB, free: 9.051 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.01815, allocations: 109.4 kB / 266.2 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.01815, allocations: 0 / 266.2 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01816, allocations: 3.984 kB / 266.2 MB, free: 8.941 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.01816, allocations: 7.938 kB / 266.2 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.856e-05/0.01826, allocations: 109.2 kB / 266.3 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.01826, allocations: 4 kB / 266.3 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.01832, allocations: 11.98 kB / 266.4 MB, free: 8.785 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01832, allocations: 8 kB / 266.4 MB, free: 8.777 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.01833, allocations: 0 / 266.4 MB, free: 8.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.01833, allocations: 3.938 kB / 266.4 MB, free: 8.773 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01833, allocations: 3.938 kB / 266.4 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.01849, allocations: 124.5 kB / 266.5 MB, free: 8.621 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.01852, allocations: 15.94 kB / 266.5 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.01853, allocations: 0 / 266.5 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.762e-05/0.01856, allocations: 7.984 kB / 266.5 MB, free: 8.598 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.01859, allocations: 4 kB / 266.5 MB, free: 8.594 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.01859, allocations: 3.984 kB / 266.5 MB, free: 8.59 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5e-05/0.01864, allocations: 139.3 kB / 266.7 MB, free: 8.453 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01864, allocations: 0 / 266.7 MB, free: 8.453 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004523/0.0191, allocations: 175.3 kB / 266.8 MB, free: 8.281 MB / 250.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.0006678/0.01976, allocations: 406 kB / 267.2 MB, free: 7.887 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.01987, allocations: 43.59 kB / 267.3 MB, free: 7.84 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01987, allocations: 4.125 kB / 267.3 MB, free: 7.836 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.779e-05/0.01992, allocations: 27.67 kB / 267.3 MB, free: 7.805 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.0201, allocations: 11.92 kB / 267.3 MB, free: 7.793 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005986/0.02069, allocations: 272.9 kB / 267.6 MB, free: 7.496 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.497e-05/0.02073, allocations: 63.34 kB / 267.6 MB, free: 7.414 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.345e-05/0.02079, allocations: 24.97 kB / 267.7 MB, free: 7.395 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.02087, allocations: 90.19 kB / 267.8 MB, free: 7.305 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02087, allocations: 0 / 267.8 MB, free: 7.305 MB / 250.7 MB Notification: Performance of Templates: time 0.007776/0.02865, allocations: 4.638 MB / 272.4 MB, free: 2.676 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.528754381928593]