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.001577/0.001577, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001747/0.001747, allocations: 209.6 kB / 25.13 MB, free: 3.605 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.441/1.441, allocations: 230.4 MB / 258.7 MB, free: 8.035 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.2354/0.2354, allocations: 46.93 MB / 362 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 180] 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.002382/0.002382, allocations: 87.86 kB / 0.4978 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3282, allocations: 66.08 MB / 0.5623 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001901/0.3301, allocations: 497.1 kB / 0.5628 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.3335, allocations: 2.176 MB / 0.5649 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.3335, allocations: 0 / 0.5649 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.3335, allocations: 3.938 kB / 0.5649 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.113e-06/0.3335, allocations: 0 / 0.5649 GB, free: 1.574 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.002273/0.3358, allocations: 0.7587 MB / 0.5657 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.407e-05/0.3358, allocations: 0 / 0.5657 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.3359, allocations: 4 kB / 0.5657 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.481e-05/0.3359, allocations: 0 / 0.5657 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.654e-05/0.3359, allocations: 0 / 0.5657 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.129e-06/0.3359, allocations: 0 / 0.5657 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.3383, allocations: 1.572 MB / 0.5672 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.3383, allocations: 3.984 kB / 0.5672 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.3383, allocations: 0 / 0.5672 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.3401, allocations: 1.558 MB / 0.5687 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3401, allocations: 0 / 0.5687 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3401, allocations: 0 / 0.5687 GB, free: 13.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.3401, allocations: 0 / 0.5687 GB, free: 13.68 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.00059/0.3407, allocations: 339.4 kB / 0.569 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3407, allocations: 8.031 kB / 0.5691 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.3407, allocations: 8.922 kB / 0.5691 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.214e-05/0.3408, allocations: 106.5 kB / 0.5692 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3408, allocations: 384 / 0.5692 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-06/0.3408, allocations: 384 / 0.5692 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.802e-05/0.3409, allocations: 59.72 kB / 0.5692 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3409, allocations: 0 / 0.5692 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.3409, allocations: 3.938 kB / 0.5692 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.341, allocations: 7.938 kB / 0.5692 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.457e-05/0.341, allocations: 33.64 kB / 0.5693 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.3411, allocations: 116.8 kB / 0.5694 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.388e-05/0.3412, allocations: 48.31 kB / 0.5694 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.3412, allocations: 30.56 kB / 0.5694 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.3412, allocations: 0 / 0.5694 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/0.3413, allocations: 64.2 kB / 0.5695 GB, free: 12.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3413, allocations: 0 / 0.5695 GB, free: 12.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001964/0.3415, allocations: 126.8 kB / 0.5696 GB, free: 12.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.3415, allocations: 81.11 kB / 0.5697 GB, free: 12.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.22e-05/0.3416, allocations: 89.86 kB / 0.5698 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3416, allocations: 25.7 kB / 0.5698 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.3416, allocations: 80.14 kB / 0.5699 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.3416, allocations: 0 / 0.5699 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.3417, allocations: 17.7 kB / 0.5699 GB, free: 12.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3418, allocations: 319 kB / 0.5702 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.3418, allocations: 25.7 kB / 0.5702 GB, free: 11.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/0.3419, allocations: 25.7 kB / 0.5703 GB, free: 11.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.405e-05/0.3419, allocations: 60.27 kB / 0.5703 GB, free: 11.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3419, allocations: 0 / 0.5703 GB, free: 11.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.028e-05/0.342, allocations: 97.03 kB / 0.5704 GB, free: 11.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.342, allocations: 33.64 kB / 0.5704 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.342, allocations: 4.094 kB / 0.5705 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3421, allocations: 4 kB / 0.5705 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-06/0.3421, allocations: 3.984 kB / 0.5705 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3421, allocations: 0 / 0.5705 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.472e-05/0.3421, allocations: 0 / 0.5705 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.3421, allocations: 0 / 0.5705 GB, free: 11.61 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.602e-05/0.3422, allocations: 140.4 kB / 0.5706 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/0.3422, allocations: 3.938 kB / 0.5706 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-06/0.3422, allocations: 3 kB / 0.5706 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.3422, allocations: 4 kB / 0.5706 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3422, allocations: 0 / 0.5706 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3422, allocations: 4 kB / 0.5706 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.353e-05/0.3423, allocations: 112.8 kB / 0.5707 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3423, allocations: 7.938 kB / 0.5707 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-06/0.3423, allocations: 3.984 kB / 0.5707 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3423, allocations: 3.938 kB / 0.5707 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.3423, allocations: 8 kB / 0.5707 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.3423, allocations: 0 / 0.5707 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3423, allocations: 0 / 0.5707 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.3424, allocations: 124.5 kB / 0.5709 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-06/0.3425, allocations: 3.938 kB / 0.5709 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.3425, allocations: 3.938 kB / 0.5709 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-06/0.3425, allocations: 0 / 0.5709 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.3425, allocations: 3.984 kB / 0.5709 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.3425, allocations: 4 kB / 0.5709 GB, free: 11.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.472e-05/0.3425, allocations: 75.28 kB / 0.5709 GB, free: 11.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3425, allocations: 0 / 0.5709 GB, free: 11.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007209/0.3433, allocations: 279.6 kB / 0.5712 GB, free: 10.75 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.001247/0.3445, allocations: 414.1 kB / 0.5716 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.3446, allocations: 110.8 kB / 0.5717 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3446, allocations: 0 / 0.5717 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.704e-05/0.3447, allocations: 85.05 kB / 0.5718 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.3448, allocations: 3.984 kB / 0.5718 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000183/0.345, allocations: 110.8 kB / 0.5719 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.3453, allocations: 0.6768 MB / 0.5726 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.209e-06/0.3453, allocations: 0 / 0.5726 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.281e-05/0.3453, allocations: 7.438 kB / 0.5726 GB, free: 9.262 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3453, allocations: 0 / 0.5726 GB, free: 9.262 MB / 414.1 MB Notification: Performance of Templates: time 0.01236/0.3577, allocations: 7.316 MB / 0.5797 GB, free: 1.934 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 gbode -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.144245573086664] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3659831481054425 0.380247245 0.037096375 Calling exit ...