Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007723/0.0007723, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001854, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007022/0.0007022, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009506/0.001653, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.911/0.911, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1061/1.017, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.051e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001695/0.001716, allocations: 1.446 MB / 246.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003559/0.005275, allocations: 4.072 MB / 250.7 MB, free: 8.035 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.005307, allocations: 0 / 250.7 MB, free: 8.035 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.00532, allocations: 7.922 kB / 250.7 MB, free: 8.027 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007749/0.006095, allocations: 286.7 kB / 251 MB, free: 7.746 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008624/0.006958, allocations: 489.8 kB / 251.5 MB, free: 7.266 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.637e-05/0.007054, allocations: 63.66 kB / 251.5 MB, free: 7.203 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.263e-05/0.007087, allocations: 8 kB / 251.6 MB, free: 7.195 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006043/0.007691, allocations: 431.2 kB / 252 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.007733, allocations: 27.91 kB / 252 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.007745, allocations: 0 / 252 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007213/0.008466, allocations: 0.5807 MB / 252.6 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.008485, allocations: 7.938 kB / 252.6 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.008505, allocations: 12 kB / 252.6 MB, free: 6.145 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.009051, allocations: 422.8 kB / 253 MB, free: 5.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.497e-05/0.009066, allocations: 3.984 kB / 253 MB, free: 5.727 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.009068, allocations: 0 / 253 MB, free: 5.727 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.009079, allocations: 0 / 253 MB, free: 5.727 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.0004412/0.00952, allocations: 399.5 kB / 253.4 MB, free: 5.312 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.00955, allocations: 12.92 kB / 253.4 MB, free: 5.301 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.009577, allocations: 8.922 kB / 253.4 MB, free: 5.293 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.009684, allocations: 125.7 kB / 253.6 MB, free: 5.145 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.009699, allocations: 8.375 kB / 253.6 MB, free: 5.137 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.009717, allocations: 384 / 253.6 MB, free: 5.137 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.00982, allocations: 76.39 kB / 253.6 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.009827, allocations: 0 / 253.6 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.009833, allocations: 7.938 kB / 253.6 MB, free: 5.039 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.009839, allocations: 4 kB / 253.7 MB, free: 5.035 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.317e-05/0.009862, allocations: 11.98 kB / 253.7 MB, free: 5.023 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.006e-05/0.009952, allocations: 69.86 kB / 253.7 MB, free: 4.938 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.0101, allocations: 69.16 kB / 253.8 MB, free: 4.852 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.01012, allocations: 13.72 kB / 253.8 MB, free: 4.832 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/0.01034, allocations: 127.9 kB / 253.9 MB, free: 4.707 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.01036, allocations: 34.56 kB / 254 MB, free: 4.664 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.01036, allocations: 0 / 254 MB, free: 4.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001145/0.01048, allocations: 65.92 kB / 254 MB, free: 4.594 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.01051, allocations: 81.05 kB / 254.1 MB, free: 4.496 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.347e-05/0.01056, allocations: 114.7 kB / 254.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.01057, allocations: 25.7 kB / 254.3 MB, free: 4.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.044e-05/0.01059, allocations: 92.12 kB / 254.3 MB, free: 4.246 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.01062, allocations: 23.78 kB / 254.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.01065, allocations: 29.7 kB / 254.4 MB, free: 4.188 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.359e-05/0.01072, allocations: 314.8 kB / 254.7 MB, free: 3.871 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.01074, allocations: 8 kB / 254.7 MB, free: 3.863 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.01076, allocations: 35.36 kB / 254.7 MB, free: 3.816 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.185e-05/0.0108, allocations: 39.41 kB / 254.8 MB, free: 3.766 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01081, allocations: 4 kB / 254.8 MB, free: 3.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.383e-05/0.01087, allocations: 65.55 kB / 254.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.01088, allocations: 4 kB / 254.9 MB, free: 3.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01089, allocations: 4 kB / 254.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.0109, allocations: 0 / 254.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.164e-05/0.01095, allocations: 27.92 kB / 254.9 MB, free: 3.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.01095, allocations: 3.938 kB / 254.9 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.01097, allocations: 4 kB / 254.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.01098, allocations: 0 / 254.9 MB, free: 3.648 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 5.109e-05/0.01103, allocations: 121.8 kB / 255 MB, free: 3.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.01104, allocations: 8.062 kB / 255 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.01118, allocations: 88.34 kB / 255.1 MB, free: 3.422 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.01119, allocations: 4 kB / 255.1 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01119, allocations: 3.938 kB / 255.1 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01119, allocations: 0 / 255.1 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.932e-05/0.01126, allocations: 88.66 kB / 255.2 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.01126, allocations: 0 / 255.2 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.01131, allocations: 15.98 kB / 255.2 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.01134, allocations: 19.92 kB / 255.2 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.01134, allocations: 4 kB / 255.2 MB, free: 3.27 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.01135, allocations: 0 / 255.2 MB, free: 3.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.01135, allocations: 7.938 kB / 255.2 MB, free: 3.262 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01135, allocations: 3.938 kB / 255.2 MB, free: 3.258 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.01146, allocations: 111.6 kB / 255.4 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.01147, allocations: 3.984 kB / 255.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.623e-05/0.01149, allocations: 0 / 255.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.01151, allocations: 11.98 kB / 255.4 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.01152, allocations: 8.172 kB / 255.4 MB, free: 3.102 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.583e-05/0.01154, allocations: 12.84 kB / 255.4 MB, free: 3.086 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01154, allocations: 4.031 kB / 255.4 MB, free: 3.082 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.01183, allocations: 143.5 kB / 255.5 MB, free: 2.941 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.00038/0.01221, allocations: 303.5 kB / 255.8 MB, free: 2.637 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.918e-05/0.01229, allocations: 32.84 kB / 255.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.0123, allocations: 0 / 255.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.951e-05/0.01234, allocations: 32.72 kB / 255.9 MB, free: 2.566 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.01246, allocations: 76.16 kB / 256 MB, free: 2.48 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.0137, allocations: 204.1 kB / 256.2 MB, free: 2.25 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.894e-05/0.01373, allocations: 55.36 kB / 256.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.979e-05/0.01379, allocations: 36.34 kB / 256.3 MB, free: 2.145 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.345e-05/0.01386, allocations: 71.34 kB / 256.3 MB, free: 2.074 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01386, allocations: 0 / 256.3 MB, free: 2.074 MB / 250.7 MB Notification: Performance of Templates: time 0.004974/0.01883, allocations: 3.846 MB / 260.2 MB, free: 14.29 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.318992219865322]