Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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.001224/0.001224, allocations: 109 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.001348/0.001348, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.408/1.408, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.88 MB / 361.3 MB, free: 4.457 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 79.86 kB / 0.497 GB, free: 7.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3549, allocations: 66.02 MB / 0.5615 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001552/0.3565, allocations: 0.493 MB / 0.562 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.3586, allocations: 1.579 MB / 0.5635 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.649e-05/0.3587, allocations: 0 / 0.5635 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.496e-06/0.3587, allocations: 0 / 0.5635 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.959e-06/0.3587, allocations: 3.938 kB / 0.5635 GB, free: 2.555 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008495/0.3595, allocations: 259.3 kB / 0.5638 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.683e-05/0.3596, allocations: 4 kB / 0.5638 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.944e-05/0.3596, allocations: 0 / 0.5638 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.906e-05/0.3596, allocations: 0 / 0.5638 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.428e-05/0.3596, allocations: 0 / 0.5638 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.199e-06/0.3596, allocations: 4 kB / 0.5638 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.3607, allocations: 0.8038 MB / 0.5646 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-06/0.3607, allocations: 3.938 kB / 0.5646 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.467e-05/0.3608, allocations: 0 / 0.5646 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007604/0.3615, allocations: 0.6576 MB / 0.5652 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3615, allocations: 0 / 0.5652 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3615, allocations: 0 / 0.5652 GB, free: 0.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.3615, allocations: 0 / 0.5652 GB, free: 0.832 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004182/0.3619, allocations: 295.8 kB / 0.5655 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.362, allocations: 16.02 kB / 0.5655 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.362, allocations: 0.9375 kB / 0.5655 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.413e-05/0.3621, allocations: 102.5 kB / 0.5656 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3621, allocations: 384 / 0.5656 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.3621, allocations: 4.375 kB / 0.5656 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.576e-05/0.3622, allocations: 37.95 kB / 0.5657 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3622, allocations: 4 kB / 0.5657 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.3622, allocations: 0 / 0.5657 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-06/0.3622, allocations: 0 / 0.5657 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.64e-05/0.3622, allocations: 4 kB / 0.5657 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.3624, allocations: 120.8 kB / 0.5658 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.326e-05/0.3624, allocations: 18.61 kB / 0.5658 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.3624, allocations: 12.8 kB / 0.5658 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.3624, allocations: 3.984 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.3625, allocations: 60.2 kB / 0.5659 GB, free: 32 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3625, allocations: 0 / 0.5659 GB, free: 32 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001753/0.3627, allocations: 67.45 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.3627, allocations: 77.11 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.703e-05/0.3628, allocations: 93.81 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3628, allocations: 29.7 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.3628, allocations: 84.27 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.3628, allocations: 0 / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.3629, allocations: 9.719 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.363, allocations: 318.8 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-06/0.363, allocations: 0 / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.363, allocations: 3.938 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/0.3631, allocations: 64.25 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3631, allocations: 4.062 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.708e-05/0.3631, allocations: 59.41 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.3632, allocations: 33.64 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3632, allocations: 3.938 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.3632, allocations: 0 / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.866e-06/0.3632, allocations: 3.984 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.3632, allocations: 0 / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.3632, allocations: 8 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3632, allocations: 3.938 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.12e-05/0.3633, allocations: 135.6 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.3633, allocations: 11.88 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.03e-05/0.3633, allocations: 3 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-07/0.3633, allocations: 0 / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3633, allocations: 0 / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3633, allocations: 0 / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.3634, allocations: 116.8 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3634, allocations: 4 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.3634, allocations: 0 / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3634, allocations: 3.938 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.3634, allocations: 0 / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.3634, allocations: 4 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3635, allocations: 0 / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.776e-05/0.3635, allocations: 90.83 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-06/0.3636, allocations: 0 / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3636, allocations: 3.938 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.55e-05/0.3636, allocations: 12 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-06/0.3636, allocations: 0 / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.3636, allocations: 4.031 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.48e-05/0.3636, allocations: 76.3 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3636, allocations: 3.938 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.364, allocations: 119.9 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0006944/0.3647, allocations: 179.2 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.425e-05/0.3648, allocations: 67.33 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3648, allocations: 3.938 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.483e-05/0.3648, allocations: 51.41 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.3649, allocations: 4 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001883/0.3651, allocations: 89.12 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3654, allocations: 0.6729 MB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.511e-06/0.3654, allocations: 0 / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.275e-05/0.3654, allocations: 7.438 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3654, allocations: 0 / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of Templates: time 0.007288/0.3727, allocations: 3.932 MB / 0.5721 GB, free: 9.344 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.891664922237396] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.38143189903348684 0.395314459 0.030964375000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f49e4da17b0>