Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2355/0.2355, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 88.39 kB / 417.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1344, allocations: 62.45 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001836/0.1363, allocations: 494.8 kB / 480.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.1386, allocations: 1.564 MB / 482.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.1386, allocations: 0 / 482.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.1386, allocations: 0 / 482.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.559e-06/0.1386, allocations: 0 / 482.2 MB, free: 3.16 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0008631/0.1395, allocations: 231.4 kB / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.008e-05/0.1396, allocations: 0 / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.1396, allocations: 0 / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.319e-05/0.1396, allocations: 4 kB / 482.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.822e-05/0.1396, allocations: 7.922 kB / 482.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-06/0.1396, allocations: 0 / 482.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000986/0.1406, allocations: 0.7102 MB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-06/0.1407, allocations: 0 / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.1407, allocations: 3.984 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007299/0.1414, allocations: 0.6357 MB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1414, allocations: 8 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1414, allocations: 0 / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1415, allocations: 0 / 483.7 MB, free: 1.562 MB / 350.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.000427/0.1419, allocations: 361.3 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1419, allocations: 12.03 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.142, allocations: 0.9375 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1421, allocations: 160.4 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1421, allocations: 384 / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.1421, allocations: 4.312 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.309e-05/0.1422, allocations: 45.94 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1422, allocations: 0 / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.1422, allocations: 0 / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1422, allocations: 0 / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.1423, allocations: 4 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.1424, allocations: 145.7 kB / 484.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.1425, allocations: 14.58 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.1425, allocations: 20.88 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.1425, allocations: 0 / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.283e-05/0.1426, allocations: 60.2 kB / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1426, allocations: 0 / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001809/0.1428, allocations: 63.41 kB / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.1428, allocations: 77.11 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.143, allocations: 93.84 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.143, allocations: 25.7 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.143, allocations: 88.27 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.1431, allocations: 0 / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.1431, allocations: 13.72 kB / 484.9 MB, free: 172 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1433, allocations: 310.8 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.1433, allocations: 7.938 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.1433, allocations: 0 / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.445e-05/0.1434, allocations: 60.27 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1434, allocations: 64 / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.532e-05/0.1435, allocations: 67.39 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.278e-05/0.1436, allocations: 40.14 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1436, allocations: 0 / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1436, allocations: 0 / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.1436, allocations: 0 / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1436, allocations: 0 / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.1436, allocations: 7.938 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1437, allocations: 4 kB / 485.4 MB, free: 15.64 MB / 366.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 0.0001015/0.1438, allocations: 143.5 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.1438, allocations: 3.938 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.073e-05/0.1438, allocations: 7.125 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.1438, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.1438, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1438, allocations: 3.938 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1439, allocations: 145.7 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1439, allocations: 3.984 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.144, allocations: 0 / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.144, allocations: 7.938 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.144, allocations: 0 / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.144, allocations: 4 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.144, allocations: 0 / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.1441, allocations: 90.83 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.1441, allocations: 81.02 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1442, allocations: 3.938 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.104e-05/0.1442, allocations: 4 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-06/0.1442, allocations: 0 / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1442, allocations: 8.031 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.1442, allocations: 79.22 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1442, allocations: 0 / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004579/0.1447, allocations: 120 kB / 486.1 MB, free: 14.84 MB / 366.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.000695/0.1454, allocations: 180.5 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.067e-05/0.1455, allocations: 55.41 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1455, allocations: 0 / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.676e-05/0.1456, allocations: 59.39 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.1457, allocations: 4 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/0.1459, allocations: 85.06 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1462, allocations: 0.669 MB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.242e-06/0.1462, allocations: 0 / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.21e-05/0.1462, allocations: 7.438 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1462, allocations: 3.938 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of Templates: time 0.007285/0.1535, allocations: 3.924 MB / 491.1 MB, free: 9.773 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1)