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.001336/0.001336, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001446/0.001446, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2585/0.2585, allocations: 46.97 MB / 361.6 MB, free: 4.047 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.002054/0.002054, allocations: 67.84 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.319, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.00158/0.3206, allocations: 489 kB / 0.5623 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.323, allocations: 1.517 MB / 0.5637 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.323, allocations: 0 / 0.5637 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.11e-05/0.323, allocations: 0 / 0.5637 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.323, allocations: 0 / 0.5637 GB, free: 2.172 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.0009662/0.324, allocations: 263.3 kB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.388e-05/0.324, allocations: 4 kB / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.3241, allocations: 0 / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.312e-05/0.3241, allocations: 0 / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.547e-05/0.3241, allocations: 0 / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-06/0.3241, allocations: 7.938 kB / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.3251, allocations: 0.6869 MB / 0.5647 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.3252, allocations: 7.984 kB / 0.5647 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.451e-05/0.3252, allocations: 3.938 kB / 0.5647 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006988/0.3259, allocations: 0.6185 MB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3259, allocations: 0 / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3259, allocations: 0 / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.3259, allocations: 0 / 0.5653 GB, free: 0.5898 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.0004109/0.3263, allocations: 291.9 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.3263, allocations: 11.97 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.3264, allocations: 0.9375 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.515e-05/0.3264, allocations: 110.5 kB / 0.5657 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3265, allocations: 384 / 0.5657 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.3265, allocations: 4.375 kB / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.843e-05/0.3266, allocations: 67.7 kB / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.3266, allocations: 0 / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-06/0.3266, allocations: 0 / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.3266, allocations: 3.938 kB / 0.5658 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.799e-05/0.3266, allocations: 29.7 kB / 0.5658 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.3267, allocations: 93.33 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.153e-05/0.3268, allocations: 48.25 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.3268, allocations: 38.56 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-06/0.3268, allocations: 0 / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.879e-05/0.3269, allocations: 64.31 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.3269, allocations: 0 / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001846/0.3271, allocations: 114.8 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.3271, allocations: 81.05 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/0.3272, allocations: 101.8 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3272, allocations: 25.7 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.3273, allocations: 80.14 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.3273, allocations: 0 / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.3273, allocations: 17.84 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3275, allocations: 310.8 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.3275, allocations: 29.7 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.3275, allocations: 25.7 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.944e-05/0.3276, allocations: 64.27 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3276, allocations: 0 / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.625e-05/0.3277, allocations: 89.09 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.3277, allocations: 29.7 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3277, allocations: 3.938 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3277, allocations: 8.031 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.3277, allocations: 0 / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.3277, allocations: 3.984 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.3278, allocations: 4 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.3278, allocations: 3.984 kB / 0.567 GB, free: 14.59 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 0.0001092/0.3279, allocations: 139.5 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.3279, allocations: 4 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.252e-05/0.3279, allocations: 6.938 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-06/0.3279, allocations: 0 / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3279, allocations: 0 / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3279, allocations: 4 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.283e-05/0.328, allocations: 101.3 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.328, allocations: 0 / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.328, allocations: 3.938 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.328, allocations: 0 / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.328, allocations: 0 / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.328, allocations: 3.938 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.328, allocations: 0 / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.3281, allocations: 120.5 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-06/0.3281, allocations: 4 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3281, allocations: 4.031 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.3281, allocations: 7.938 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.3282, allocations: 0 / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.3282, allocations: 0 / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.525e-05/0.3282, allocations: 84.3 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3282, allocations: 0 / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004402/0.3286, allocations: 119.9 kB / 0.5675 GB, free: 13.93 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.0006992/0.3293, allocations: 176 kB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.3295, allocations: 118.8 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3295, allocations: 0 / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.53e-05/0.3295, allocations: 77.11 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.3296, allocations: 6.656 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001847/0.3298, allocations: 122.8 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.475e-05/0.3299, allocations: 59.3 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.119e-06/0.3299, allocations: 0 / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.3299, allocations: 7.438 kB / 0.5681 GB, free: 13.28 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3299, allocations: 0 / 0.5681 GB, free: 13.28 MB / 414.1 MB Notification: Performance of Templates: time 0.007912/0.3378, allocations: 3.93 MB / 0.5719 GB, free: 9.344 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 gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.881339176004985] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3462510559911607 0.360381521 0.031425921 Calling exit ...