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.001553/0.001553, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001619/0.001619, allocations: 162.7 kB / 25.75 MB, free: 8.578 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.8023/0.8023, allocations: 158.6 MB / 187.6 MB, free: 1.984 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.403e-06/1.403e-06, allocations: 0 / 251.1 MB, free: 3.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.814e-05, allocations: 6.312 kB / 251.1 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002095/0.002113, allocations: 1.388 MB / 252.5 MB, free: 2.414 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00796/0.01007, allocations: 7.126 MB / 259.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.01011, allocations: 0 / 259.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.01014, allocations: 3.938 kB / 259.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.01123, allocations: 310.7 kB / 259.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.01269, allocations: 0.7082 MB / 260.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.0128, allocations: 63.66 kB / 260.7 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.01284, allocations: 7.984 kB / 260.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.01297, allocations: 51.83 kB / 260.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006872/0.01365, allocations: 359.3 kB / 261.1 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.01368, allocations: 4 kB / 261.1 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.01472, allocations: 0.7248 MB / 261.8 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.01473, allocations: 3.984 kB / 261.8 MB, free: 9.027 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.01477, allocations: 19.92 kB / 261.9 MB, free: 9.008 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008939/0.01566, allocations: 0.6194 MB / 262.5 MB, free: 8.387 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.01567, allocations: 8 kB / 262.5 MB, free: 8.379 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01567, allocations: 0 / 262.5 MB, free: 8.379 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.01567, allocations: 0 / 262.5 MB, free: 8.379 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.000551/0.01622, allocations: 495.3 kB / 263 MB, free: 7.859 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.01626, allocations: 11.98 kB / 263 MB, free: 7.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.01632, allocations: 4.938 kB / 263 MB, free: 7.844 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.0165, allocations: 132.5 kB / 263.1 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.01652, allocations: 4.375 kB / 263.1 MB, free: 7.684 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.01654, allocations: 8.312 kB / 263.1 MB, free: 7.676 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.01668, allocations: 70.33 kB / 263.2 MB, free: 7.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.01669, allocations: 4.188 kB / 263.2 MB, free: 7.586 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.0167, allocations: 4.125 kB / 263.2 MB, free: 7.582 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.01671, allocations: 4 kB / 263.2 MB, free: 7.578 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.613e-05/0.01676, allocations: 11.98 kB / 263.2 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.01692, allocations: 136.2 kB / 263.4 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.01715, allocations: 82.25 kB / 263.4 MB, free: 7.289 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.0172, allocations: 35.42 kB / 263.5 MB, free: 7.246 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/0.01753, allocations: 119.9 kB / 263.6 MB, free: 7.129 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.01757, allocations: 49.33 kB / 263.6 MB, free: 7.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.01757, allocations: 0 / 263.6 MB, free: 7.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002126/0.01778, allocations: 77.88 kB / 263.7 MB, free: 6.988 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.01783, allocations: 81.05 kB / 263.8 MB, free: 6.891 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.01793, allocations: 173.9 kB / 264 MB, free: 6.703 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.01795, allocations: 29.7 kB / 264 MB, free: 6.668 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/0.01802, allocations: 126.9 kB / 264.1 MB, free: 6.539 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/0.01807, allocations: 23.8 kB / 264.1 MB, free: 6.516 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.01813, allocations: 35.34 kB / 264.2 MB, free: 6.473 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.01827, allocations: 496.1 kB / 264.7 MB, free: 5.977 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.0183, allocations: 11.98 kB / 264.7 MB, free: 5.965 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.226e-05/0.01835, allocations: 46.69 kB / 264.7 MB, free: 5.902 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.299e-05/0.01843, allocations: 58.67 kB / 264.8 MB, free: 5.828 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01844, allocations: 0 / 264.8 MB, free: 5.828 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001678/0.0186, allocations: 81.5 kB / 264.8 MB, free: 5.742 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.01862, allocations: 8 kB / 264.9 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.01862, allocations: 0 / 264.9 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.01864, allocations: 64 / 264.9 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.094e-05/0.01869, allocations: 23.92 kB / 264.9 MB, free: 5.711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.01869, allocations: 4 kB / 264.9 MB, free: 5.707 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.284e-05/0.01872, allocations: 4 kB / 264.9 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.01873, allocations: 4 kB / 264.9 MB, free: 5.699 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.169e-05/0.01879, allocations: 156.6 kB / 265 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.0188, allocations: 15.89 kB / 265.1 MB, free: 5.52 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.019, allocations: 107.6 kB / 265.2 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.019, allocations: 0 / 265.2 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01901, allocations: 11.94 kB / 265.2 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01901, allocations: 0 / 265.2 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.13e-05/0.01909, allocations: 124.6 kB / 265.3 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01909, allocations: 0 / 265.3 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.01914, allocations: 15.98 kB / 265.3 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01914, allocations: 0 / 265.3 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.01915, allocations: 4 kB / 265.3 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01916, allocations: 0 / 265.3 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01916, allocations: 4 kB / 265.3 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.0193, allocations: 128.4 kB / 265.4 MB, free: 5.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.01932, allocations: 19.97 kB / 265.5 MB, free: 5.051 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.01934, allocations: 4 kB / 265.5 MB, free: 5.047 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.662e-05/0.01935, allocations: 0 / 265.5 MB, free: 5.047 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.01939, allocations: 15.92 kB / 265.5 MB, free: 5.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.0194, allocations: 4 kB / 265.5 MB, free: 5.027 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.299e-05/0.01947, allocations: 139.2 kB / 265.6 MB, free: 4.891 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01947, allocations: 0 / 265.6 MB, free: 4.891 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.01979, allocations: 175.4 kB / 265.8 MB, free: 4.719 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.000613/0.0204, allocations: 403.3 kB / 266.2 MB, free: 4.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.02052, allocations: 43.59 kB / 266.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.02052, allocations: 0 / 266.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.491e-05/0.02057, allocations: 31.61 kB / 266.3 MB, free: 4.238 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.02071, allocations: 8 kB / 266.3 MB, free: 4.23 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.02133, allocations: 269 kB / 266.5 MB, free: 3.938 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.7e-05/0.02137, allocations: 55.36 kB / 266.6 MB, free: 3.863 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.135e-05/0.02142, allocations: 31.16 kB / 266.6 MB, free: 3.836 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.02145, allocations: 20.48 kB / 266.6 MB, free: 3.816 MB / 250.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02145, allocations: 0 / 266.6 MB, free: 3.816 MB / 250.7 MB Notification: Performance of Templates: time 0.005417/0.02687, allocations: 3.884 MB / 270.5 MB, free: 15.93 MB / 266.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.4784193481318653]