Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001457/0.001457, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001724/0.001724, allocations: 157.7 kB / 24.27 MB, free: 168 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.485/1.485, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3466/0.3466, allocations: 32.79 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.224e-05/3.416e-05, allocations: 6.25 kB / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001922/0.001956, allocations: 0.4922 MB / 375.7 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.004703, allocations: 1.526 MB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.004722, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.004737, allocations: 3.938 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.462e-06/0.004743, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.001042/0.005786, allocations: 255.2 kB / 377.5 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.835e-05/0.005834, allocations: 4 kB / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.005871, allocations: 0 / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.73e-05/0.005898, allocations: 0 / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.84e-05/0.005917, allocations: 0 / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-06/0.005924, allocations: 4 kB / 377.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.007041, allocations: 0.6868 MB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.007063, allocations: 3.984 kB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.007086, allocations: 0 / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.008251, allocations: 0.7486 MB / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.008254, allocations: 0 / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.008256, allocations: 0 / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.008261, allocations: 0 / 379 MB, free: 1.246 MB / 346.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.0004897/0.008751, allocations: 283.9 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.008794, allocations: 8.031 kB / 379.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.008841, allocations: 8.938 kB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.008953, allocations: 101.8 kB / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.008972, allocations: 4.375 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.008981, allocations: 384 / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.009112, allocations: 63.89 kB / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.009123, allocations: 192 / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.009133, allocations: 384 / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.009142, allocations: 3.938 kB / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.984e-05/0.009182, allocations: 33.7 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.009315, allocations: 97.31 kB / 379.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.605e-05/0.009391, allocations: 44.31 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.009434, allocations: 38.56 kB / 379.6 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.009444, allocations: 0 / 379.6 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.788e-05/0.009512, allocations: 68.25 kB / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.009513, allocations: 0 / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000243/0.009756, allocations: 110.8 kB / 379.8 MB, free: 232 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.009827, allocations: 85.05 kB / 379.9 MB, free: 128 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/0.009891, allocations: 93.84 kB / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.009941, allocations: 29.7 kB / 380 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.009987, allocations: 80.14 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.01001, allocations: 128 / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.01003, allocations: 13.72 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.01022, allocations: 318.8 kB / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/0.01025, allocations: 25.7 kB / 380.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.01027, allocations: 29.64 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.799e-05/0.01035, allocations: 68.25 kB / 380.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01035, allocations: 0 / 380.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.761e-05/0.01045, allocations: 85.11 kB / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.01049, allocations: 33.7 kB / 380.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.0105, allocations: 0 / 380.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.01051, allocations: 4.094 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.01051, allocations: 0 / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.01052, allocations: 3.938 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.01054, allocations: 3.984 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.01054, allocations: 0 / 380.7 MB, free: 15.27 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.0001201/0.01066, allocations: 139.5 kB / 380.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.01068, allocations: 11.88 kB / 380.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.156e-05/0.01069, allocations: 7 kB / 380.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.01069, allocations: 0 / 380.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01069, allocations: 0 / 380.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.0107, allocations: 7.938 kB / 380.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.953e-05/0.0108, allocations: 97.31 kB / 380.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.0108, allocations: 0 / 380.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-05/0.01081, allocations: 4 kB / 380.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.01081, allocations: 0 / 380.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.01082, allocations: 0 / 380.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.01082, allocations: 0 / 380.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01082, allocations: 0 / 380.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.01097, allocations: 120.5 kB / 381 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-06/0.01097, allocations: 0 / 381 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.01098, allocations: 4 kB / 381 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-06/0.01099, allocations: 4.031 kB / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.01101, allocations: 0 / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.01101, allocations: 4 kB / 381.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.155e-05/0.01106, allocations: 87.16 kB / 381.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01106, allocations: 0 / 381.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004272/0.01149, allocations: 127.8 kB / 381.3 MB, free: 14.59 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.0007939/0.01228, allocations: 177.7 kB / 381.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.01243, allocations: 118.8 kB / 381.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01243, allocations: 0 / 381.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.076e-05/0.0125, allocations: 81.11 kB / 381.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.01263, allocations: 2.188 kB / 381.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.01288, allocations: 116.1 kB / 381.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.801e-05/0.01294, allocations: 55.36 kB / 381.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.3e-06/0.01295, allocations: 0 / 381.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.01296, allocations: 8.5 kB / 381.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01296, allocations: 3.938 kB / 381.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of Templates: time 0.008575/0.02154, allocations: 3.991 MB / 385.8 MB, free: 9.945 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.8079573209397495]