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.001774/0.001774, allocations: 73.48 kB / 21.24 MB, free: 0.5039 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.002036/0.002036, allocations: 159.5 kB / 24.49 MB, free: 3.691 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.374/1.374, allocations: 158.6 MB / 186.3 MB, free: 6.508 MB / 174.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.00191/0.00191, allocations: 58.58 kB / 298.6 MB, free: 8.969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2321, allocations: 49.14 MB / 347.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00271/0.2348, allocations: 1.331 MB / 349.1 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.2449, allocations: 6.517 MB / 355.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.2449, allocations: 3.938 kB / 355.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.245, allocations: 3.938 kB / 355.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.2462, allocations: 310.9 kB / 355.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.2478, allocations: 0.7038 MB / 356.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.248, allocations: 59.72 kB / 356.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.248, allocations: 7.922 kB / 356.7 MB, free: 8.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.2481, allocations: 43.89 kB / 356.7 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007989/0.2489, allocations: 371.2 kB / 357.1 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.2489, allocations: 0 / 357.1 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.2502, allocations: 0.7135 MB / 357.8 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.2502, allocations: 11.94 kB / 357.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.2503, allocations: 27.84 kB / 357.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008982/0.2512, allocations: 0.526 MB / 358.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2512, allocations: 4 kB / 358.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2512, allocations: 0 / 358.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.2512, allocations: 4 kB / 358.4 MB, free: 6.758 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.000638/0.2518, allocations: 393 kB / 358.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2518, allocations: 11.98 kB / 358.8 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.2519, allocations: 12.88 kB / 358.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.2521, allocations: 126.5 kB / 358.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2521, allocations: 4.312 kB / 358.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.2521, allocations: 4.375 kB / 358.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.2523, allocations: 67.52 kB / 359 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2523, allocations: 4 kB / 359 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.2523, allocations: 0 / 359 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2523, allocations: 0 / 359 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.284e-05/0.2524, allocations: 27.89 kB / 359 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.2526, allocations: 122.2 kB / 359.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.2529, allocations: 77.25 kB / 359.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.023e-05/0.253, allocations: 21.72 kB / 359.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003754/0.2534, allocations: 123.8 kB / 359.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2534, allocations: 38.56 kB / 359.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.2534, allocations: 0 / 359.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002931/0.2537, allocations: 81.53 kB / 359.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.2537, allocations: 81.11 kB / 359.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.2539, allocations: 113.8 kB / 359.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2539, allocations: 25.7 kB / 359.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.2539, allocations: 92.08 kB / 359.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.254, allocations: 19.78 kB / 359.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.254, allocations: 25.72 kB / 359.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2541, allocations: 318.8 kB / 360.1 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.866e-05/0.2542, allocations: 15.98 kB / 360.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/0.2543, allocations: 39.42 kB / 360.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.2544, allocations: 59.36 kB / 360.2 MB, free: 4.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2544, allocations: 3.938 kB / 360.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002075/0.2546, allocations: 85.5 kB / 360.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.2546, allocations: 12 kB / 360.3 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2546, allocations: 0 / 360.3 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2547, allocations: 4 kB / 360.3 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.2547, allocations: 15.98 kB / 360.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2547, allocations: 0 / 360.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.2548, allocations: 8 kB / 360.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.2548, allocations: 4 kB / 360.4 MB, free: 4.535 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 8.334e-05/0.2549, allocations: 113.8 kB / 360.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.2549, allocations: 16.36 kB / 360.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.2553, allocations: 129.5 kB / 360.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2553, allocations: 0 / 360.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2553, allocations: 0 / 360.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2553, allocations: 4 kB / 360.6 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.2554, allocations: 121.2 kB / 360.7 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.2554, allocations: 8 kB / 360.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.2555, allocations: 11.98 kB / 360.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2555, allocations: 0 / 360.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.2555, allocations: 11.94 kB / 360.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2555, allocations: 0 / 360.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2555, allocations: 0 / 360.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.2558, allocations: 141.9 kB / 360.9 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.2559, allocations: 11.98 kB / 360.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2559, allocations: 7.922 kB / 360.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.123e-05/0.2559, allocations: 0 / 360.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.256, allocations: 11.98 kB / 360.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.256, allocations: 4 kB / 360.9 MB, free: 3.887 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.834e-05/0.256, allocations: 87.28 kB / 361 MB, free: 3.801 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.256, allocations: 4.062 kB / 361 MB, free: 3.797 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004971/0.2565, allocations: 175.4 kB / 361.2 MB, free: 3.625 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.0007848/0.2573, allocations: 374.2 kB / 361.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.2575, allocations: 51.91 kB / 361.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2575, allocations: 0 / 361.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/0.2576, allocations: 32.05 kB / 361.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.2578, allocations: 12 kB / 361.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.2584, allocations: 299 kB / 361.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.033e-05/0.2584, allocations: 79.05 kB / 362 MB, free: 2.734 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.431e-05/0.2585, allocations: 31.91 kB / 362.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.2586, allocations: 16.5 kB / 362.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2586, allocations: 0 / 362.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of Templates: time 0.008336/0.2669, allocations: 3.754 MB / 365.8 MB, free: 14.93 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/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","/var/lib/jenkins/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: 4.720662450417876]