Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.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.001729/0.001729, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002174/0.002174, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.493/1.493, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2382/0.2382, allocations: 46.87 MB / 361.1 MB, free: 4.664 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Warning: Requested package Modelica 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.002397/0.002397, allocations: 75.88 kB / 0.4967 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.366, allocations: 65.98 MB / 0.5612 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001602/0.3676, allocations: 0.4959 MB / 0.5617 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.3707, allocations: 2.168 MB / 0.5638 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.965e-05/0.3707, allocations: 0 / 0.5638 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.3707, allocations: 0 / 0.5638 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.719e-06/0.3707, allocations: 3.938 kB / 0.5638 GB, free: 2.379 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.3726, allocations: 0.731 MB / 0.5645 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.409e-05/0.3727, allocations: 3.938 kB / 0.5645 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.3727, allocations: 0 / 0.5645 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.795e-05/0.3728, allocations: 3.984 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.42e-05/0.3728, allocations: 8 kB / 0.5645 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.09e-06/0.3728, allocations: 0 / 0.5645 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.375, allocations: 1.572 MB / 0.566 GB, free: 68 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.375, allocations: 0 / 0.566 GB, free: 68 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.375, allocations: 3.984 kB / 0.566 GB, free: 64 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.3766, allocations: 1.558 MB / 0.5676 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.3766, allocations: 0 / 0.5676 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3766, allocations: 4 kB / 0.5676 GB, free: 14.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3766, allocations: 4 kB / 0.5676 GB, free: 14.5 MB / 414.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.0006033/0.3772, allocations: 416.5 kB / 0.568 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3772, allocations: 8.031 kB / 0.568 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.3772, allocations: 0.9375 kB / 0.568 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.3773, allocations: 160.4 kB / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3774, allocations: 4.359 kB / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.3774, allocations: 4.375 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.135e-05/0.3775, allocations: 37.95 kB / 0.5682 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.3775, allocations: 0 / 0.5682 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.3775, allocations: 0 / 0.5682 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.3775, allocations: 0 / 0.5682 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.3775, allocations: 4 kB / 0.5682 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.3776, allocations: 145.7 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.299e-05/0.3777, allocations: 22.59 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.3777, allocations: 8.797 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.3777, allocations: 11.92 kB / 0.5684 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.3778, allocations: 60.2 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3778, allocations: 0 / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001631/0.3779, allocations: 67.42 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.378, allocations: 81.09 kB / 0.5686 GB, free: 13.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.937e-05/0.378, allocations: 89.86 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.378, allocations: 25.7 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.3781, allocations: 84.27 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.3781, allocations: 7.984 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.3781, allocations: 9.719 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3783, allocations: 314.8 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.3783, allocations: 4 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-06/0.3783, allocations: 3.938 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.589e-05/0.3783, allocations: 60.27 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3783, allocations: 0 / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.066e-05/0.3784, allocations: 67.45 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.3784, allocations: 41.58 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3784, allocations: 0 / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3784, allocations: 0 / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.475e-06/0.3785, allocations: 4 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.3785, allocations: 0 / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.3785, allocations: 4 kB / 0.5692 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3785, allocations: 0 / 0.5692 GB, free: 12.51 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 8.815e-05/0.3786, allocations: 135.5 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.3786, allocations: 11.97 kB / 0.5694 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.808e-06/0.3786, allocations: 3.125 kB / 0.5694 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.3786, allocations: 3.938 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.3786, allocations: 0 / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.3786, allocations: 0 / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.3787, allocations: 145.7 kB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3787, allocations: 0 / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-06/0.3787, allocations: 4 kB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3787, allocations: 3.938 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.3787, allocations: 0 / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.3787, allocations: 0 / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3787, allocations: 7.938 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.3788, allocations: 90.83 kB / 0.5696 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.3789, allocations: 77.11 kB / 0.5697 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3789, allocations: 3.938 kB / 0.5697 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-06/0.3789, allocations: 0 / 0.5697 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.3789, allocations: 8 kB / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.3789, allocations: 0 / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.387e-05/0.3789, allocations: 79.31 kB / 0.5698 GB, free: 11.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3789, allocations: 0 / 0.5698 GB, free: 11.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007275/0.3797, allocations: 275.6 kB / 0.5701 GB, free: 11.57 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.001308/0.381, allocations: 423.6 kB / 0.5705 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.3811, allocations: 55.41 kB / 0.5705 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3811, allocations: 0 / 0.5705 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.3811, allocations: 63.39 kB / 0.5706 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.3812, allocations: 4.125 kB / 0.5706 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.3814, allocations: 84.98 kB / 0.5707 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.3818, allocations: 0.669 MB / 0.5713 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.891e-06/0.3818, allocations: 4 kB / 0.5713 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.3818, allocations: 7.438 kB / 0.5713 GB, free: 10.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3818, allocations: 0 / 0.5713 GB, free: 10.2 MB / 414.1 MB Notification: Performance of Templates: time 0.01311/0.3949, allocations: 7.308 MB / 0.5785 GB, free: 2.879 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.547669595107436] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.40325583005324006 0.418247589 0.038460014 Calling exit ...