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.001774/0.001774, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002148/0.002148, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.001986/0.001986, allocations: 59.89 kB / 379 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2322, allocations: 53.38 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002443/0.2346, allocations: 1.379 MB / 433.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005742/0.2404, allocations: 4.111 MB / 437.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.2404, allocations: 0 / 437.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.2404, allocations: 0 / 437.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.2414, allocations: 302.8 kB / 438.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.2425, allocations: 0.5047 MB / 438.7 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.2427, allocations: 63.66 kB / 438.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.115e-05/0.2427, allocations: 0 / 438.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.2428, allocations: 39.84 kB / 438.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007273/0.2435, allocations: 371.3 kB / 439.2 MB, free: 188 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.2435, allocations: 4 kB / 439.2 MB, free: 184 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.2446, allocations: 0.6511 MB / 439.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.2446, allocations: 3.984 kB / 439.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.2447, allocations: 27.86 kB / 439.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007526/0.2454, allocations: 456.7 kB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2455, allocations: 7.984 kB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2455, allocations: 0 / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.2455, allocations: 0 / 440.3 MB, free: 15.05 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.0005787/0.246, allocations: 361.3 kB / 440.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2461, allocations: 8.031 kB / 440.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.2461, allocations: 8.891 kB / 440.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.2463, allocations: 134.4 kB / 440.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.2463, allocations: 8.312 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.2464, allocations: 7.938 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.2465, allocations: 67.39 kB / 440.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2465, allocations: 0 / 440.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.2466, allocations: 0 / 440.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2466, allocations: 0 / 440.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.551e-05/0.2466, allocations: 19.92 kB / 440.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.2469, allocations: 149.6 kB / 441 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.2472, allocations: 81.19 kB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.316e-05/0.2473, allocations: 25.7 kB / 441.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003668/0.2476, allocations: 115.8 kB / 441.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.2477, allocations: 38.56 kB / 441.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.2477, allocations: 0 / 441.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.00031/0.248, allocations: 85.92 kB / 441.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.248, allocations: 77.11 kB / 441.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2481, allocations: 109.8 kB / 441.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.2482, allocations: 29.69 kB / 441.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.2482, allocations: 88.14 kB / 441.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.2482, allocations: 27.78 kB / 441.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.2483, allocations: 25.7 kB / 441.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2484, allocations: 314.8 kB / 442 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.045e-05/0.2485, allocations: 15.98 kB / 442.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.2486, allocations: 39.42 kB / 442.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.2487, allocations: 63.34 kB / 442.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2487, allocations: 0 / 442.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002021/0.2489, allocations: 93.42 kB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.2489, allocations: 4 kB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2489, allocations: 4 kB / 442.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2489, allocations: 0 / 442.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.249, allocations: 20.06 kB / 442.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.249, allocations: 4 kB / 442.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.2491, allocations: 3.984 kB / 442.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.2491, allocations: 4 kB / 442.3 MB, free: 12.82 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 8.395e-05/0.2492, allocations: 117.8 kB / 442.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.2492, allocations: 3.953 kB / 442.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.2496, allocations: 125 kB / 442.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.2496, allocations: 4 kB / 442.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2496, allocations: 0 / 442.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2496, allocations: 3.984 kB / 442.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.2497, allocations: 144.6 kB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2497, allocations: 0 / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.142e-05/0.2498, allocations: 15.98 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2498, allocations: 0 / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2498, allocations: 4 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2498, allocations: 4 kB / 442.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2498, allocations: 4 kB / 442.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.2501, allocations: 153.8 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.2502, allocations: 15.91 kB / 442.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2502, allocations: 4 kB / 442.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.226e-05/0.2502, allocations: 4 kB / 442.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.2503, allocations: 8.047 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.2503, allocations: 4 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.621e-05/0.2503, allocations: 91.27 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2503, allocations: 0 / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004265/0.2508, allocations: 135.5 kB / 443.1 MB, free: 11.92 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.0005245/0.2513, allocations: 278.8 kB / 443.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.2515, allocations: 47.91 kB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2515, allocations: 0 / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.813e-05/0.2516, allocations: 32.05 kB / 443.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.2518, allocations: 15.92 kB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.2524, allocations: 287.8 kB / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.2527, allocations: 0.6885 MB / 444.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.284e-05/0.2528, allocations: 23.59 kB / 444.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.2529, allocations: 31.36 kB / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2529, allocations: 0 / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Templates: time 0.007245/0.2601, allocations: 3.102 MB / 447.6 MB, free: 7.418 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 -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.3900226801633835] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.26862489245831966 0.283454355 0.034841837 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc20e75d7b0>