Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2229/0.2229, allocations: 46.96 MB / 361.6 MB, free: 4.004 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3369, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001614/0.3385, allocations: 0.4931 MB / 0.5623 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.3409, allocations: 1.521 MB / 0.5638 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.848e-05/0.3409, allocations: 0 / 0.5638 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.3409, allocations: 0 / 0.5638 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.3409, allocations: 0 / 0.5638 GB, free: 2.117 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.000922/0.3418, allocations: 262.9 kB / 0.564 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.427e-05/0.3419, allocations: 3.984 kB / 0.564 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.3419, allocations: 4 kB / 0.564 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.412e-05/0.3419, allocations: 0 / 0.564 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.972e-05/0.3419, allocations: 4 kB / 0.564 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-06/0.342, allocations: 0 / 0.564 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009704/0.3429, allocations: 0.6907 MB / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.3429, allocations: 0 / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.343, allocations: 4 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006897/0.3436, allocations: 0.6185 MB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3436, allocations: 0 / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3436, allocations: 0 / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.3437, allocations: 4 kB / 0.5653 GB, free: 0.5391 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.0004203/0.3441, allocations: 295.8 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.3441, allocations: 8.031 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.3441, allocations: 4.938 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3443, allocations: 106.5 kB / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.3443, allocations: 384 / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.3443, allocations: 384 / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.173e-05/0.3444, allocations: 63.66 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.3444, allocations: 0 / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3444, allocations: 64 / 0.5658 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3444, allocations: 3.984 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.389e-05/0.3444, allocations: 37.69 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.3445, allocations: 93.33 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.627e-05/0.3446, allocations: 48.31 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.3446, allocations: 30.56 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.3446, allocations: 0 / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.3447, allocations: 64.27 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.3447, allocations: 0 / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001868/0.3449, allocations: 122.7 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.3449, allocations: 77.11 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/0.345, allocations: 93.94 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.345, allocations: 29.7 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.345, allocations: 80.14 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.345, allocations: 4 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.3451, allocations: 13.7 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3452, allocations: 310.8 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.3452, allocations: 29.7 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-05/0.3452, allocations: 29.7 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.322e-05/0.3453, allocations: 64.2 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3453, allocations: 0 / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.321e-05/0.3454, allocations: 93.16 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.3454, allocations: 33.7 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.3454, allocations: 0 / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3454, allocations: 3.938 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.3454, allocations: 3.938 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3454, allocations: 4 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.3454, allocations: 3.938 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.3454, allocations: 3.938 kB / 0.567 GB, free: 14.54 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.34e-05/0.3455, allocations: 139.5 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-06/0.3455, allocations: 0 / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.025e-05/0.3456, allocations: 10.97 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.3456, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3456, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3456, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.675e-05/0.3456, allocations: 97.33 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3456, allocations: 3.938 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3456, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3456, allocations: 3.984 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3457, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3457, allocations: 3.938 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3457, allocations: 4 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.3458, allocations: 116.5 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-06/0.3458, allocations: 4 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.3458, allocations: 0 / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.234e-05/0.3458, allocations: 7.938 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.3458, allocations: 0 / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.3458, allocations: 4 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.906e-05/0.3458, allocations: 76.3 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3458, allocations: 0 / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004155/0.3463, allocations: 119.9 kB / 0.5675 GB, free: 13.89 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.0007084/0.347, allocations: 179.5 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.3471, allocations: 114.8 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3471, allocations: 64 / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.547e-05/0.3472, allocations: 85.11 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.3473, allocations: 3.938 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/0.3475, allocations: 114.6 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.831e-05/0.3476, allocations: 59.34 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.769e-06/0.3476, allocations: 0 / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.3476, allocations: 11.42 kB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3476, allocations: 0 / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Templates: time 0.007025/0.3546, allocations: 3.928 MB / 0.5719 GB, free: 9.301 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.899090920996969] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.36265039100544527 0.37722833299999997 0.030492591000000003 Calling exit ...