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.002365/0.002365, allocations: 91.62 kB / 20.96 MB, free: 3.457 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.002903/0.002903, allocations: 161.3 kB / 24.27 MB, free: 152 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 1.579/1.579, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.343e-06/1.343e-06, allocations: 0 / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.803e-05, allocations: 2.312 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002784/0.002812, allocations: 1.381 MB / 273.7 MB, free: 476 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006616/0.009428, allocations: 4.037 MB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.009464, allocations: 4 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.009487, allocations: 3.938 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.01067, allocations: 302.7 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.0122, allocations: 0.5173 MB / 278.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.01231, allocations: 59.64 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.01235, allocations: 4 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.0125, allocations: 47.83 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008849/0.01338, allocations: 363.2 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.0134, allocations: 4 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.0146, allocations: 0.5378 MB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.01462, allocations: 11.92 kB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.01465, allocations: 11.98 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009209/0.01557, allocations: 498.6 kB / 280.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.01558, allocations: 0 / 280.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01558, allocations: 4 kB / 280.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.01558, allocations: 0 / 280.1 MB, free: 10.06 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.0006549/0.01624, allocations: 463.3 kB / 280.5 MB, free: 9.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.01627, allocations: 8.031 kB / 280.5 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.01633, allocations: 12.89 kB / 280.5 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.01655, allocations: 136.4 kB / 280.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.01657, allocations: 4.312 kB / 280.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.01659, allocations: 4.375 kB / 280.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.01675, allocations: 73.36 kB / 280.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.01676, allocations: 0 / 280.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.01677, allocations: 3.984 kB / 280.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.01678, allocations: 4 kB / 280.8 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.633e-05/0.01687, allocations: 19.92 kB / 280.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.01709, allocations: 132.4 kB / 280.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.01742, allocations: 90.16 kB / 281 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.212e-05/0.01749, allocations: 31.36 kB / 281 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004114/0.0179, allocations: 127.9 kB / 281.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.01794, allocations: 37.39 kB / 281.2 MB, free: 8.777 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.01794, allocations: 0 / 281.2 MB, free: 8.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003311/0.01827, allocations: 93.48 kB / 281.3 MB, free: 8.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.01834, allocations: 77.11 kB / 281.3 MB, free: 8.586 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.01848, allocations: 169.9 kB / 281.5 MB, free: 8.402 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.01851, allocations: 29.7 kB / 281.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.01858, allocations: 126.9 kB / 281.7 MB, free: 8.238 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.01864, allocations: 31.77 kB / 281.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.01869, allocations: 27.38 kB / 281.7 MB, free: 8.172 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002731/0.01896, allocations: 0.4884 MB / 282.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.269e-05/0.01901, allocations: 8 kB / 282.2 MB, free: 7.664 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.699e-05/0.0191, allocations: 50.73 kB / 282.3 MB, free: 7.598 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.01925, allocations: 70.67 kB / 282.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01925, allocations: 0 / 282.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000213/0.01946, allocations: 93.95 kB / 282.4 MB, free: 7.414 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.01948, allocations: 4 kB / 282.4 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.01949, allocations: 7.938 kB / 282.4 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.0195, allocations: 0 / 282.4 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.744e-05/0.01957, allocations: 12 kB / 282.5 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.01957, allocations: 0 / 282.5 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.01962, allocations: 7.984 kB / 282.5 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.01963, allocations: 12.06 kB / 282.5 MB, free: 7.371 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.000144/0.01978, allocations: 164.5 kB / 282.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.0198, allocations: 4 kB / 282.6 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.02012, allocations: 121.2 kB / 282.8 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.02013, allocations: 7.938 kB / 282.8 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.02014, allocations: 0 / 282.8 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.02014, allocations: 0 / 282.8 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.02029, allocations: 128.6 kB / 282.9 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.0203, allocations: 0 / 282.9 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.737e-05/0.02037, allocations: 12 kB / 282.9 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.02038, allocations: 3.984 kB / 282.9 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.02039, allocations: 4 kB / 282.9 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.0204, allocations: 3.938 kB / 282.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.0204, allocations: 0 / 282.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.02071, allocations: 144 kB / 283.1 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.02074, allocations: 11.94 kB / 283.1 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.02077, allocations: 11.98 kB / 283.1 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.02081, allocations: 3.938 kB / 283.1 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.02085, allocations: 7.984 kB / 283.1 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.02086, allocations: 32 / 283.1 MB, free: 6.684 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.648e-05/0.02095, allocations: 135.2 kB / 283.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02095, allocations: 0 / 283.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004493/0.0214, allocations: 135.5 kB / 283.4 MB, free: 6.418 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.0006307/0.02203, allocations: 302.7 kB / 283.6 MB, free: 6.109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.02223, allocations: 51.59 kB / 283.7 MB, free: 6.055 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.02223, allocations: 0 / 283.7 MB, free: 6.055 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.698e-05/0.02233, allocations: 36.39 kB / 283.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.02255, allocations: 11.98 kB / 283.7 MB, free: 6.004 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005625/0.02311, allocations: 261.8 kB / 284 MB, free: 5.715 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.878e-05/0.02319, allocations: 67.59 kB / 284.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.991e-05/0.02327, allocations: 27.66 kB / 284.1 MB, free: 5.605 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.02332, allocations: 20.48 kB / 284.1 MB, free: 5.586 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02332, allocations: 4 kB / 284.1 MB, free: 5.582 MB / 266.7 MB Notification: Performance of Templates: time 0.008473/0.03179, allocations: 3.186 MB / 287.3 MB, free: 2.438 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.617424848955125]