Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.001154/0.001154, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001092/0.001092, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9327/0.9327, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1476/0.1476, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 347.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.712e-05, allocations: 6.25 kB / 347.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001853/0.00188, allocations: 0.5267 MB / 348.2 MB, free: 9.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.004174, allocations: 2.102 MB / 350.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.0042, allocations: 0 / 350.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.004216, allocations: 0 / 350.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.004222, allocations: 0 / 350.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.005742, allocations: 0.7556 MB / 351 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.366e-05/0.005806, allocations: 0 / 351 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.005845, allocations: 4 kB / 351 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.9e-05/0.005874, allocations: 4 kB / 351 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.924e-05/0.005893, allocations: 0 / 351 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.005901, allocations: 0 / 351 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.00742, allocations: 1.552 MB / 352.6 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.00743, allocations: 0 / 352.6 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.007452, allocations: 4 kB / 352.6 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.008964, allocations: 1.855 MB / 354.4 MB, free: 2.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.008967, allocations: 11.98 kB / 354.5 MB, free: 2.965 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.008969, allocations: 0 / 354.5 MB, free: 2.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.008973, allocations: 0 / 354.5 MB, free: 2.965 MB / 282.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.0005575/0.009531, allocations: 457.4 kB / 354.9 MB, free: 2.477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.009571, allocations: 12.03 kB / 354.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.009612, allocations: 0.9375 kB / 354.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.542e-05/0.009657, allocations: 108.6 kB / 355 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.009669, allocations: 384 / 355 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.009682, allocations: 8.359 kB / 355 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.475e-05/0.009767, allocations: 55.91 kB / 355.1 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.009774, allocations: 7.938 kB / 355.1 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.009783, allocations: 4 kB / 355.1 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.00979, allocations: 0 / 355.1 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.507e-05/0.009805, allocations: 29.69 kB / 355.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.737e-05/0.009873, allocations: 108.6 kB / 355.2 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.879e-05/0.009911, allocations: 56.7 kB / 355.3 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.009927, allocations: 41.48 kB / 355.3 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.009935, allocations: 0 / 355.3 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.009965, allocations: 59.09 kB / 355.4 MB, free: 1.871 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.009965, allocations: 0 / 355.4 MB, free: 1.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001818/0.01015, allocations: 126.7 kB / 355.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.01018, allocations: 77.11 kB / 355.6 MB, free: 1.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.551e-05/0.0102, allocations: 146.2 kB / 355.7 MB, free: 1.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-06/0.01021, allocations: 29.64 kB / 355.8 MB, free: 1.438 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.229e-05/0.01022, allocations: 126.9 kB / 355.9 MB, free: 1.309 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.01024, allocations: 8.281 kB / 355.9 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.01026, allocations: 19.38 kB / 355.9 MB, free: 1.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.393e-05/0.0103, allocations: 492.1 kB / 356.4 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.01032, allocations: 29.7 kB / 356.4 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-06/0.01033, allocations: 33.7 kB / 356.5 MB, free: 0.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.711e-05/0.01036, allocations: 63.28 kB / 356.5 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.01036, allocations: 0 / 356.5 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.285e-05/0.01042, allocations: 89.09 kB / 356.6 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.01044, allocations: 33.7 kB / 356.6 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.01044, allocations: 0 / 356.6 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.01046, allocations: 3.938 kB / 356.6 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.01046, allocations: 3.938 kB / 356.6 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.01046, allocations: 0 / 356.6 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.01048, allocations: 0 / 356.6 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.01048, allocations: 4 kB / 356.6 MB, free: 484 kB / 282.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 4.765e-05/0.01053, allocations: 194.2 kB / 356.8 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.01054, allocations: 4 kB / 356.8 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-06/0.01055, allocations: 3 kB / 356.8 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01055, allocations: 3.938 kB / 356.8 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01055, allocations: 0 / 356.8 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.01055, allocations: 3.938 kB / 356.9 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.67e-05/0.01059, allocations: 104.6 kB / 357 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.01059, allocations: 4 kB / 357 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-07/0.01059, allocations: 3.984 kB / 357 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.61e-07/0.01059, allocations: 0 / 357 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.0106, allocations: 7.984 kB / 357 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.0106, allocations: 0 / 357 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.0106, allocations: 3.938 kB / 357 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.01071, allocations: 131.8 kB / 357.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-06/0.01072, allocations: 4 kB / 357.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.01074, allocations: 0 / 357.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-06/0.01074, allocations: 0 / 357.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.01076, allocations: 3.938 kB / 357.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.01076, allocations: 4 kB / 357.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.143e-05/0.01079, allocations: 119.2 kB / 357.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01079, allocations: 4.031 kB / 357.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000674/0.01147, allocations: 291.6 kB / 357.5 MB, free: 15.51 MB / 298.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.001064/0.01253, allocations: 0.5129 MB / 358 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.01265, allocations: 114.5 kB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.01265, allocations: 4 kB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.951e-05/0.01269, allocations: 100.7 kB / 358.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.912e-05/0.01279, allocations: 7.938 kB / 358.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001901/0.01298, allocations: 117.5 kB / 358.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.94e-05/0.01301, allocations: 51.36 kB / 358.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.054e-06/0.01301, allocations: 8.109 kB / 358.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.379e-05/0.01303, allocations: 12.5 kB / 358.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01303, allocations: 0 / 358.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of Templates: time 0.009792/0.02282, allocations: 7.516 MB / 366 MB, free: 6.973 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.2461263409350067]