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.001837/0.001837, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002031/0.002031, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.252/0.252, allocations: 46.94 MB / 360.9 MB, free: 4.262 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+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.00217/0.00217, allocations: 63.91 kB / 0.4966 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 66.03 MB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001643/0.3503, allocations: 0.4931 MB / 0.5616 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.3526, allocations: 1.575 MB / 0.5631 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.3526, allocations: 0 / 0.5631 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.3526, allocations: 0 / 0.5631 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.581e-06/0.3526, allocations: 4 kB / 0.5631 GB, free: 2.332 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.0009803/0.3536, allocations: 255.3 kB / 0.5634 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.491e-05/0.3536, allocations: 8 kB / 0.5634 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.3537, allocations: 0 / 0.5634 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.701e-05/0.3537, allocations: 0 / 0.5634 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.442e-05/0.3537, allocations: 0 / 0.5634 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.789e-06/0.3537, allocations: 0 / 0.5634 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.3549, allocations: 0.8077 MB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.707e-06/0.3549, allocations: 7.922 kB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.3549, allocations: 4 kB / 0.5642 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007843/0.3557, allocations: 0.6536 MB / 0.5648 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3557, allocations: 3.984 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3557, allocations: 0 / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.3557, allocations: 0 / 0.5648 GB, free: 0.6016 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.0004442/0.3562, allocations: 295.8 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3562, allocations: 8.031 kB / 0.5651 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.3562, allocations: 4.938 kB / 0.5651 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.211e-05/0.3563, allocations: 102.5 kB / 0.5652 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3563, allocations: 4.312 kB / 0.5652 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.3563, allocations: 8.375 kB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.099e-05/0.3564, allocations: 34.02 kB / 0.5653 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3564, allocations: 0 / 0.5653 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.3564, allocations: 0 / 0.5653 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3564, allocations: 0 / 0.5653 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.662e-05/0.3564, allocations: 3.984 kB / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.3566, allocations: 120.8 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.3566, allocations: 22.52 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.3567, allocations: 8.953 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.3567, allocations: 0 / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.3567, allocations: 60.2 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3567, allocations: 0 / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001707/0.3569, allocations: 67.39 kB / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.357, allocations: 77.11 kB / 0.5656 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.646e-05/0.357, allocations: 93.81 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.357, allocations: 29.83 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.3571, allocations: 80.14 kB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.3571, allocations: 4 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.3571, allocations: 9.719 kB / 0.5658 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3573, allocations: 322.8 kB / 0.5661 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.3573, allocations: 0 / 0.5661 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.3573, allocations: 4 kB / 0.5661 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.359e-05/0.3573, allocations: 64.33 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3574, allocations: 0 / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.353e-05/0.3574, allocations: 55.41 kB / 0.5662 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.3575, allocations: 41.62 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3575, allocations: 0 / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3575, allocations: 3.938 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.3575, allocations: 0 / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3575, allocations: 0 / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.3575, allocations: 0 / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.3575, allocations: 11.88 kB / 0.5663 GB, free: 14.86 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.126e-05/0.3576, allocations: 143.5 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.3576, allocations: 3.938 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.164e-05/0.3576, allocations: 3 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3576, allocations: 4 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3576, allocations: 3.984 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3576, allocations: 0 / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.758e-05/0.3577, allocations: 112.8 kB / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3577, allocations: 0 / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3577, allocations: 0 / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.3577, allocations: 11.94 kB / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.3577, allocations: 0 / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.3577, allocations: 0 / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3577, allocations: 0 / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.3578, allocations: 94.81 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-06/0.3579, allocations: 0 / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.3579, allocations: 7.938 kB / 0.5667 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-06/0.3579, allocations: 0 / 0.5667 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.3579, allocations: 15.95 kB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.3579, allocations: 4 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.717e-05/0.3579, allocations: 76.3 kB / 0.5667 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3579, allocations: 0 / 0.5667 GB, free: 14.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003994/0.3583, allocations: 115.9 kB / 0.5669 GB, free: 14.2 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.0007034/0.359, allocations: 179.6 kB / 0.567 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.621e-05/0.3591, allocations: 59.41 kB / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3591, allocations: 4 kB / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.3592, allocations: 55.34 kB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.3593, allocations: 4 kB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.3595, allocations: 97.05 kB / 0.5672 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3598, allocations: 0.669 MB / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.27e-06/0.3598, allocations: 3.938 kB / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.196e-05/0.3598, allocations: 7.438 kB / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3598, allocations: 0 / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of Templates: time 0.007925/0.3678, allocations: 3.928 MB / 0.5717 GB, free: 9.113 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 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.346815681783482] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3769322498701513 0.39190436300000003 0.033021667000000005 Calling exit ...