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.002512/0.002512, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002013/0.002013, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 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.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3526/0.3526, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 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 2.004e-06/2.004e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.367e-05, allocations: 2.312 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.002642/0.002676, allocations: 499.9 kB / 377.8 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00458/0.007256, allocations: 1.549 MB / 379.3 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.007283, allocations: 0 / 379.3 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.007298, allocations: 0 / 379.3 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.895e-06/0.007306, allocations: 4 kB / 379.3 MB, free: 0.9336 MB / 346.7 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.001749/0.009055, allocations: 255.2 kB / 379.6 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.087e-05/0.009106, allocations: 0 / 379.6 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.009151, allocations: 3.984 kB / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.911e-05/0.00919, allocations: 4 kB / 379.6 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.739e-05/0.009218, allocations: 4 kB / 379.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.009227, allocations: 0 / 379.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.01124, allocations: 0.683 MB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.01125, allocations: 0 / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.01129, allocations: 7.938 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.01312, allocations: 0.7408 MB / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.01312, allocations: 3.938 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.01312, allocations: 0 / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.01313, allocations: 0 / 381 MB, free: 15.23 MB / 362.7 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.0008185/0.01395, allocations: 397.9 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.01401, allocations: 12.03 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.01406, allocations: 0.9375 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.01422, allocations: 104.6 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.01423, allocations: 384 / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.01425, allocations: 8.312 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.0144, allocations: 51.97 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.01441, allocations: 192 / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.01442, allocations: 4.375 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.01443, allocations: 3.938 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.354e-05/0.01449, allocations: 33.69 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.01471, allocations: 120.6 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.01484, allocations: 48.77 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/0.01492, allocations: 37.48 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.01494, allocations: 0 / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.85e-05/0.01504, allocations: 59.09 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.744e-06/0.01504, allocations: 0 / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003718/0.01541, allocations: 122.7 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.01551, allocations: 85.05 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.01565, allocations: 142.2 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.01569, allocations: 29.83 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.0158, allocations: 126.9 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.01583, allocations: 0 / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.0159, allocations: 27.36 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003984/0.0163, allocations: 492.1 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.891e-05/0.01634, allocations: 25.7 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.301e-05/0.01639, allocations: 29.7 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.01651, allocations: 67.09 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.01651, allocations: 0 / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002075/0.01672, allocations: 93.09 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.12e-05/0.01679, allocations: 33.73 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.0168, allocations: 0 / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.01682, allocations: 0 / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-06/0.01682, allocations: 0 / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.01683, allocations: 7.938 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/0.01686, allocations: 0 / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.01687, allocations: 0 / 383.1 MB, free: 12.81 MB / 362.7 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.0002231/0.01709, allocations: 186.3 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.01712, allocations: 7.953 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.513e-05/0.01714, allocations: 3 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01714, allocations: 4 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01714, allocations: 3.938 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.01716, allocations: 7.938 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.01732, allocations: 104.6 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01732, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.01732, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.01732, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.01734, allocations: 3.984 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.01735, allocations: 8 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01735, allocations: 0 / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.0176, allocations: 139.7 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-06/0.0176, allocations: 0 / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.01762, allocations: 4 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.487e-05/0.01764, allocations: 0 / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.01766, allocations: 0 / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.01766, allocations: 0 / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.537e-05/0.01776, allocations: 123.1 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01776, allocations: 0 / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008295/0.01859, allocations: 123.8 kB / 383.8 MB, free: 12.02 MB / 362.7 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.001221/0.01981, allocations: 191.5 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.02003, allocations: 126.5 kB / 384.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.02003, allocations: 3.938 kB / 384.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.863e-05/0.02013, allocations: 92.86 kB / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.02034, allocations: 3.938 kB / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.02066, allocations: 113.6 kB / 384.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.682e-05/0.02075, allocations: 55.36 kB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.733e-06/0.02075, allocations: 0 / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.02078, allocations: 8.5 kB / 384.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02078, allocations: 0 / 384.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of Templates: time 0.01315/0.03393, allocations: 4.065 MB / 388.5 MB, free: 7.258 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.006309415912256]