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.001619/0.001619, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001792/0.001792, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 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 1.474/1.474, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001968/0.001968, allocations: 63.91 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2474, allocations: 53.41 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002901/0.2503, allocations: 1.343 MB / 433.7 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006105/0.2564, allocations: 3.745 MB / 437.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.2565, allocations: 0 / 437.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.2565, allocations: 3.984 kB / 437.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.2577, allocations: 294.9 kB / 437.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.2591, allocations: 0.5167 MB / 438.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2592, allocations: 47.73 kB / 438.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.2593, allocations: 4 kB / 438.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.2594, allocations: 43.84 kB / 438.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00075/0.2602, allocations: 367.3 kB / 438.7 MB, free: 164 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2602, allocations: 3.938 kB / 438.7 MB, free: 160 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.2613, allocations: 0.542 MB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.2613, allocations: 7.984 kB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.2614, allocations: 19.92 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009568/0.2623, allocations: 432.7 kB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2623, allocations: 0 / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2623, allocations: 4 kB / 439.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.2623, allocations: 0 / 439.7 MB, free: 15.16 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.0006341/0.263, allocations: 365.3 kB / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.263, allocations: 11.98 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.2631, allocations: 8.891 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.2633, allocations: 134.4 kB / 440.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.2633, allocations: 4.375 kB / 440.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.2633, allocations: 7.938 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.2635, allocations: 67.33 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.2635, allocations: 0 / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.2635, allocations: 0 / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2635, allocations: 7.938 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9e-05/0.2636, allocations: 15.98 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.2638, allocations: 118.2 kB / 440.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.2641, allocations: 81.17 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.296e-05/0.2642, allocations: 25.77 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004049/0.2646, allocations: 123.8 kB / 440.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.2646, allocations: 38.5 kB / 440.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.2646, allocations: 0 / 440.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003316/0.2649, allocations: 81.97 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.265, allocations: 89.03 kB / 440.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.2651, allocations: 109.8 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.2652, allocations: 37.64 kB / 441 MB, free: 13.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.2652, allocations: 80.14 kB / 441.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.2653, allocations: 23.8 kB / 441.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.2653, allocations: 21.7 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2655, allocations: 318.8 kB / 441.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.2656, allocations: 11.98 kB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.253e-05/0.2656, allocations: 43.41 kB / 441.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2658, allocations: 55.36 kB / 441.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2658, allocations: 4 kB / 441.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002176/0.266, allocations: 93.48 kB / 441.7 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.266, allocations: 4 kB / 441.7 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.266, allocations: 4 kB / 441.7 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.266, allocations: 0 / 441.7 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.2661, allocations: 15.94 kB / 441.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2661, allocations: 3.984 kB / 441.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.2662, allocations: 4 kB / 441.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2662, allocations: 4.062 kB / 441.7 MB, free: 12.97 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.361e-05/0.2663, allocations: 117.8 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.2663, allocations: 7.891 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.2667, allocations: 125.1 kB / 441.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.2667, allocations: 0 / 441.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2667, allocations: 4 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.2667, allocations: 3.984 kB / 442 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.2668, allocations: 125.2 kB / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2668, allocations: 0 / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.646e-05/0.2669, allocations: 8 kB / 442.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/0.2669, allocations: 7.938 kB / 442.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2669, allocations: 4 kB / 442.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2669, allocations: 3.984 kB / 442.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2669, allocations: 4 kB / 442.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.2673, allocations: 146.2 kB / 442.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.2673, allocations: 15.91 kB / 442.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.2673, allocations: 4 kB / 442.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.292e-05/0.2674, allocations: 8.062 kB / 442.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.2674, allocations: 3.984 kB / 442.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.2674, allocations: 4 kB / 442.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.063e-05/0.2675, allocations: 99.27 kB / 442.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2675, allocations: 0 / 442.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004595/0.2679, allocations: 135.5 kB / 442.5 MB, free: 12.09 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.0006019/0.2685, allocations: 282.8 kB / 442.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.2687, allocations: 47.91 kB / 442.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2687, allocations: 0 / 442.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.452e-05/0.2688, allocations: 32.05 kB / 442.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.269, allocations: 11.38 kB / 442.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005951/0.2696, allocations: 316.7 kB / 443.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.78e-05/0.2697, allocations: 71.98 kB / 443.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.2698, allocations: 31.42 kB / 443.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2698, allocations: 0 / 443.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of Templates: time 0.006126/0.2759, allocations: 2.929 MB / 446.2 MB, free: 8.348 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.410512088332325] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.28507702937349677 0.301818061 0.036024254000000006 Calling exit ...