Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001698/0.001698, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.001567/0.001567, allocations: 205.6 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.444/1.444, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 71.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2483, allocations: 53.31 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002643/0.251, allocations: 1.386 MB / 433.4 MB, free: 6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005835/0.2568, allocations: 4.087 MB / 437.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.2568, allocations: 0 / 437.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.2569, allocations: 7.922 kB / 437.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009948/0.2579, allocations: 286.9 kB / 437.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.259, allocations: 0.4933 MB / 438.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.83e-05/0.2591, allocations: 55.67 kB / 438.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.2591, allocations: 8 kB / 438.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.2592, allocations: 39.83 kB / 438.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007583/0.26, allocations: 371.2 kB / 438.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.26, allocations: 0 / 438.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.2612, allocations: 0.62 MB / 439.4 MB, free: 28 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.2612, allocations: 7.984 kB / 439.4 MB, free: 20 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.813e-05/0.2612, allocations: 23.94 kB / 439.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008059/0.2621, allocations: 452.9 kB / 439.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2621, allocations: 0 / 439.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2621, allocations: 0 / 439.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.2621, allocations: 0 / 439.8 MB, free: 15.55 MB / 350.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.0006892/0.2628, allocations: 450.4 kB / 440.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2628, allocations: 8.031 kB / 440.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.2628, allocations: 8.891 kB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.2631, allocations: 196.2 kB / 440.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2631, allocations: 384 / 440.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.2631, allocations: 3.938 kB / 440.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.2633, allocations: 63.39 kB / 440.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2633, allocations: 4 kB / 440.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2633, allocations: 4 kB / 440.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2633, allocations: 0 / 440.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.2634, allocations: 19.92 kB / 440.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.2636, allocations: 170.6 kB / 440.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.2639, allocations: 89.05 kB / 440.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.264, allocations: 25.77 kB / 440.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.2652, allocations: 1.536 MB / 442.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.2652, allocations: 34.56 kB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2652, allocations: 0 / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003075/0.2655, allocations: 93.48 kB / 442.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.2656, allocations: 81.09 kB / 442.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.2657, allocations: 109.8 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.2657, allocations: 25.7 kB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.2658, allocations: 84.14 kB / 442.8 MB, free: 12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.2658, allocations: 23.8 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.2658, allocations: 25.7 kB / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.266, allocations: 314.8 kB / 443.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.266, allocations: 19.98 kB / 443.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.2661, allocations: 43.36 kB / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.2663, allocations: 51.42 kB / 443.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2663, allocations: 4 kB / 443.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002039/0.2665, allocations: 93.42 kB / 443.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2665, allocations: 4 kB / 443.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2665, allocations: 4 kB / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2665, allocations: 4 kB / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/0.2666, allocations: 19.98 kB / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2666, allocations: 0 / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.2666, allocations: 4 kB / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.2666, allocations: 4 kB / 443.4 MB, free: 11.35 MB / 350.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 9.731e-05/0.2667, allocations: 121.8 kB / 443.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.2668, allocations: 7.953 kB / 443.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003776/0.2671, allocations: 116.9 kB / 443.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.2671, allocations: 4.078 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.2671, allocations: 0 / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.2672, allocations: 7.984 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.2673, allocations: 181.5 kB / 443.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2673, allocations: 0 / 443.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.176e-05/0.2674, allocations: 12 kB / 443.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2674, allocations: 0 / 443.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2674, allocations: 0 / 443.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2674, allocations: 4 kB / 443.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2674, allocations: 3.984 kB / 443.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.2677, allocations: 145.8 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.2678, allocations: 89.08 kB / 444.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.2678, allocations: 8 kB / 444.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.2679, allocations: 0 / 444.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.2679, allocations: 7.984 kB / 444.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.2679, allocations: 0 / 444.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.921e-05/0.268, allocations: 91.27 kB / 444.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.268, allocations: 8 kB / 444.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004376/0.2684, allocations: 131.5 kB / 444.3 MB, free: 10.33 MB / 350.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.0006279/0.269, allocations: 300.1 kB / 444.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.2692, allocations: 48.69 kB / 444.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2692, allocations: 0 / 444.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.863e-05/0.2693, allocations: 27.97 kB / 444.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.2695, allocations: 20.06 kB / 444.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005327/0.2701, allocations: 286.3 kB / 445 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.2704, allocations: 0.6807 MB / 445.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.568e-05/0.2704, allocations: 39.77 kB / 445.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.2705, allocations: 23.42 kB / 445.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2705, allocations: 0 / 445.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of Templates: time 0.007005/0.2775, allocations: 3.085 MB / 448.8 MB, free: 5.828 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.457735250238329] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.28728256095200777 0.30028659900000004 0.035076380000000004 Calling exit ...