Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 164.2 kB / 24.91 MB, free: 8.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9776/0.9776, allocations: 177 MB / 205.2 MB, free: 5.074 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2837/0.2837, allocations: 34.85 MB / 296.6 MB, free: 408 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 325.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.3e-05, allocations: 2.312 kB / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001284/0.001307, allocations: 0.5414 MB / 326.5 MB, free: 6.586 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005589/0.006896, allocations: 4.682 MB / 331.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.006916, allocations: 0 / 331.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.00693, allocations: 0 / 331.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.344e-06/0.006937, allocations: 0 / 331.2 MB, free: 1.879 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.005065/0.012, allocations: 3.206 MB / 334.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.528e-05/0.01205, allocations: 0 / 334.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.01208, allocations: 4 kB / 334.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.01211, allocations: 0 / 334.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.516e-05/0.01213, allocations: 0 / 334.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.191e-06/0.01213, allocations: 3.938 kB / 334.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02679/0.03892, allocations: 20.87 MB / 355.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.03893, allocations: 0 / 355.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.03895, allocations: 4 kB / 355.2 MB, free: 9.758 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03287/0.07182, allocations: 30.75 MB / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.07183, allocations: 0 / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.07183, allocations: 0 / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.07183, allocations: 0 / 386 MB, free: 10.96 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.007285/0.07912, allocations: 0.5816 MB / 386.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.07916, allocations: 8.031 kB / 386.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.07918, allocations: 4.938 kB / 386.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.876e-05/0.07923, allocations: 101.8 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.07924, allocations: 8.125 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-06/0.07925, allocations: 0 / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.444e-05/0.07931, allocations: 67.33 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.07932, allocations: 3.938 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.07932, allocations: 0 / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.07933, allocations: 0 / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.48e-05/0.07934, allocations: 29.7 kB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.38e-05/0.07941, allocations: 53.05 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.951e-05/0.07944, allocations: 44.31 kB / 386.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.07946, allocations: 30.56 kB / 386.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-06/0.07946, allocations: 8.062 kB / 386.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.0795, allocations: 68.12 kB / 387 MB, free: 9.832 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.0795, allocations: 0 / 387 MB, free: 9.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001114/0.07961, allocations: 110.8 kB / 387.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.07964, allocations: 77.11 kB / 387.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.151e-05/0.07967, allocations: 93.86 kB / 387.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.07968, allocations: 25.7 kB / 387.3 MB, free: 9.473 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.785e-05/0.07969, allocations: 84.12 kB / 387.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.07971, allocations: 4.297 kB / 387.4 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.07973, allocations: 17.83 kB / 387.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.0798, allocations: 314.8 kB / 387.7 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.07981, allocations: 29.7 kB / 387.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.07982, allocations: 25.7 kB / 387.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.07986, allocations: 64.2 kB / 387.8 MB, free: 8.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.07986, allocations: 0 / 387.8 MB, free: 8.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.746e-05/0.07991, allocations: 85.09 kB / 387.9 MB, free: 8.797 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.07994, allocations: 37.64 kB / 387.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.07995, allocations: 0 / 387.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.07995, allocations: 0 / 387.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.153e-06/0.07996, allocations: 4.094 kB / 387.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.07996, allocations: 0 / 387.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.07997, allocations: 0 / 387.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.07998, allocations: 4 kB / 388 MB, free: 8.746 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 5.571e-05/0.08003, allocations: 135.5 kB / 388.1 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-06/0.08004, allocations: 8 kB / 388.1 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.025e-05/0.08005, allocations: 11.59 kB / 388.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.08005, allocations: 0 / 388.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.08005, allocations: 4 kB / 388.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.08006, allocations: 0 / 388.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.349e-05/0.0801, allocations: 69.84 kB / 388.2 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-07/0.0801, allocations: 0 / 388.2 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.0801, allocations: 0 / 388.2 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.91e-07/0.0801, allocations: 0 / 388.2 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.08011, allocations: 3.984 kB / 388.2 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.08011, allocations: 0 / 388.2 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.08011, allocations: 3.938 kB / 388.2 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.323e-05/0.08017, allocations: 112.5 kB / 388.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-06/0.08018, allocations: 0 / 388.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-06/0.08018, allocations: 0 / 388.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.608e-06/0.08019, allocations: 0 / 388.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-06/0.0802, allocations: 15.95 kB / 388.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.0802, allocations: 3.984 kB / 388.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.134e-06/0.08021, allocations: 4.859 kB / 388.3 MB, free: 8.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08021, allocations: 3.938 kB / 388.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.01049/0.0907, allocations: 3.791 MB / 392.1 MB, free: 4.52 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.018/0.1087, allocations: 1.045 MB / 393.2 MB, free: 3.508 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.1088, allocations: 115.7 kB / 393.3 MB, free: 3.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1088, allocations: 4.062 kB / 393.3 MB, free: 3.363 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.926e-05/0.1088, allocations: 93.95 kB / 393.4 MB, free: 3.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.035e-05/0.1089, allocations: 0 / 393.4 MB, free: 3.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001528/0.109, allocations: 120.7 kB / 393.5 MB, free: 3.098 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.893e-05/0.1091, allocations: 59.3 kB / 393.5 MB, free: 3.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.58e-06/0.1091, allocations: 0 / 393.5 MB, free: 3.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.1091, allocations: 55.36 kB / 393.6 MB, free: 2.965 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/0.1091, allocations: 4 kB / 393.6 MB, free: 2.961 MB / 362.7 MB Notification: Performance of Templates: time 0.2763/0.3854, allocations: 110.6 MB / 0.4923 GB, free: 29.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 151.31782003073022]