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.001973/0.001973, allocations: 109.5 kB / 21.93 MB, free: 5.223 MB / 14.72 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.002381/0.002381, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 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 1.456/1.456, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 63.91 kB / 348.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2641, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002755/0.2669, allocations: 1.335 MB / 398.9 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007958/0.2749, allocations: 6.52 MB / 405.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.2749, allocations: 0 / 405.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.2749, allocations: 7.281 kB / 405.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.2761, allocations: 293.9 kB / 405.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.2779, allocations: 0.7087 MB / 406.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.278, allocations: 60.03 kB / 406.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.2781, allocations: 9.672 kB / 406.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.2782, allocations: 39.41 kB / 406.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007087/0.2789, allocations: 359.5 kB / 406.9 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.2789, allocations: 5.297 kB / 406.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.2801, allocations: 0.7227 MB / 407.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.2801, allocations: 6.203 kB / 407.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.2801, allocations: 19.72 kB / 407.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008295/0.2809, allocations: 0.5352 MB / 408.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.281, allocations: 0.9375 kB / 408.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.281, allocations: 3.938 kB / 408.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.281, allocations: 5.312 kB / 408.2 MB, free: 3.207 MB / 318.1 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.0004601/0.2814, allocations: 389.1 kB / 408.6 MB, free: 2.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2815, allocations: 13.58 kB / 408.6 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.2815, allocations: 11.64 kB / 408.6 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.2817, allocations: 125.8 kB / 408.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2817, allocations: 2.453 kB / 408.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.2817, allocations: 3.125 kB / 408.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.2818, allocations: 66.38 kB / 408.8 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.2818, allocations: 1.375 kB / 408.8 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.2818, allocations: 3.938 kB / 408.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2819, allocations: 5.375 kB / 408.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.862e-05/0.2819, allocations: 24.08 kB / 408.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.2821, allocations: 133.4 kB / 409 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.2823, allocations: 79.92 kB / 409 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.2824, allocations: 24.02 kB / 409.1 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003595/0.2827, allocations: 117.4 kB / 409.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.2828, allocations: 38.2 kB / 409.2 MB, free: 2.352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2828, allocations: 0 / 409.2 MB, free: 2.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002827/0.283, allocations: 81.09 kB / 409.3 MB, free: 2.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.2831, allocations: 82.17 kB / 409.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.2832, allocations: 118 kB / 409.5 MB, free: 2.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.2832, allocations: 25.7 kB / 409.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.07e-05/0.2832, allocations: 86.25 kB / 409.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.2832, allocations: 22.11 kB / 409.6 MB, free: 1.969 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.2832, allocations: 20.09 kB / 409.6 MB, free: 1.949 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.2833, allocations: 315.5 kB / 410 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.2834, allocations: 18.88 kB / 410 MB, free: 1.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-05/0.2834, allocations: 38.77 kB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.2835, allocations: 61.03 kB / 410.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2835, allocations: 0 / 410.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001756/0.2837, allocations: 83.75 kB / 410.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2837, allocations: 9 kB / 410.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2837, allocations: 1.25 kB / 410.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2837, allocations: 2.047 kB / 410.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.2838, allocations: 15.53 kB / 410.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2838, allocations: 1.594 kB / 410.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.2839, allocations: 15.34 kB / 410.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2839, allocations: 8.203 kB / 410.2 MB, free: 1.48 MB / 318.1 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.129e-05/0.2839, allocations: 113 kB / 410.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.284, allocations: 15.05 kB / 410.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.2843, allocations: 118.5 kB / 410.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.2843, allocations: 6.062 kB / 410.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2843, allocations: 0 / 410.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2843, allocations: 5.953 kB / 410.5 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.909e-05/0.2844, allocations: 119.6 kB / 410.6 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2844, allocations: 5.75 kB / 410.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.375e-05/0.2845, allocations: 11.64 kB / 410.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2845, allocations: 5.875 kB / 410.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2845, allocations: 6.109 kB / 410.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2845, allocations: 0 / 410.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2845, allocations: 1.125 kB / 410.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.2848, allocations: 139.1 kB / 410.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.2848, allocations: 22.88 kB / 410.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.2848, allocations: 6.312 kB / 410.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.2849, allocations: 2.422 kB / 410.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.2849, allocations: 10.62 kB / 410.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.2849, allocations: 1.391 kB / 410.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.184e-05/0.2849, allocations: 90.97 kB / 410.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2849, allocations: 3.938 kB / 410.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004646/0.2854, allocations: 174.3 kB / 411 MB, free: 0.8945 MB / 318.1 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.0007129/0.2861, allocations: 381.4 kB / 411.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.2863, allocations: 43.44 kB / 411.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2863, allocations: 1.406 kB / 411.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.671e-05/0.2864, allocations: 23.92 kB / 411.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.2866, allocations: 12.64 kB / 411.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.287, allocations: 326.5 kB / 411.8 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.287, allocations: 78.53 kB / 411.9 MB, free: 284 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.2871, allocations: 24.39 kB / 411.9 MB, free: 268 kB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.2871, allocations: 1.406 kB / 411.9 MB, free: 268 kB / 318.1 MB Notification: Performance of Templates: time 0.006234/0.2933, allocations: 3.521 MB / 415.4 MB, free: 14.39 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.520009492058307]