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.001036/0.001036, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 80.06 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1081, allocations: 62.44 MB / 481.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001631/0.1098, allocations: 493.5 kB / 481.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.1118, allocations: 1.564 MB / 483.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.1118, allocations: 0 / 483.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.1118, allocations: 0 / 483.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.978e-06/0.1118, allocations: 0 / 483.5 MB, free: 2.465 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.0007853/0.1126, allocations: 227.4 kB / 483.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.477e-05/0.1127, allocations: 8 kB / 483.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.1127, allocations: 0 / 483.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.357e-05/0.1127, allocations: 0 / 483.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.499e-05/0.1128, allocations: 3.938 kB / 483.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.049e-06/0.1128, allocations: 0 / 483.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008648/0.1136, allocations: 0.7103 MB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.886e-06/0.1137, allocations: 7.938 kB / 484.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.497e-05/0.1137, allocations: 0 / 484.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006805/0.1144, allocations: 0.6396 MB / 485.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1144, allocations: 0 / 485.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1144, allocations: 0 / 485.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1144, allocations: 4 kB / 485.1 MB, free: 0.8672 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.0003787/0.1148, allocations: 365.3 kB / 485.4 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1148, allocations: 8.031 kB / 485.4 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.1148, allocations: 4.938 kB / 485.5 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.121e-05/0.1149, allocations: 168.4 kB / 485.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.115, allocations: 384 / 485.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.115, allocations: 4.312 kB / 485.6 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.485e-05/0.115, allocations: 37.95 kB / 485.7 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.1151, allocations: 4 kB / 485.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1151, allocations: 0 / 485.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1151, allocations: 0 / 485.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.444e-05/0.1151, allocations: 0 / 485.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.1152, allocations: 153.7 kB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.28e-05/0.1153, allocations: 18.52 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.246e-05/0.1153, allocations: 4.859 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.1153, allocations: 3.938 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/0.1154, allocations: 68.27 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 2.174e-06/0.1154, allocations: 3.984 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.1155, allocations: 67.39 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1156, allocations: 77.11 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.131e-05/0.1157, allocations: 89.86 kB / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.1157, allocations: 25.7 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.338e-05/0.1157, allocations: 80.14 kB / 486.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.1157, allocations: 0 / 486.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.1158, allocations: 17.84 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1159, allocations: 310.8 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.1159, allocations: 4 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-06/0.1159, allocations: 7.938 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.1159, allocations: 60.25 kB / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1159, allocations: 0 / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.998e-05/0.116, allocations: 59.41 kB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.116, allocations: 37.73 kB / 486.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1161, allocations: 4 kB / 486.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1161, allocations: 4 kB / 486.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1161, allocations: 0 / 486.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1161, allocations: 3.984 kB / 486.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.308e-05/0.1161, allocations: 0 / 486.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1161, allocations: 0 / 486.7 MB, free: 14.94 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 8.199e-05/0.1162, allocations: 139.5 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-06/0.1162, allocations: 3.938 kB / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.055e-06/0.1162, allocations: 7.125 kB / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1162, allocations: 3.938 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1162, allocations: 3.938 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1162, allocations: 0 / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.096e-05/0.1163, allocations: 149.7 kB / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1164, allocations: 0 / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1164, allocations: 0 / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1164, allocations: 3.938 kB / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1164, allocations: 0 / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1164, allocations: 4 kB / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1164, allocations: 3.984 kB / 487.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.256e-05/0.1165, allocations: 90.83 kB / 487.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.1165, allocations: 81.02 kB / 487.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1165, allocations: 7.938 kB / 487.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-06/0.1166, allocations: 0 / 487.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-06/0.1166, allocations: 3.938 kB / 487.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.1166, allocations: 0 / 487.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.296e-05/0.1166, allocations: 75.28 kB / 487.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1166, allocations: 4.031 kB / 487.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003779/0.117, allocations: 128 kB / 487.4 MB, free: 14.14 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.0006216/0.1176, allocations: 175.7 kB / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.555e-05/0.1177, allocations: 63.39 kB / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1177, allocations: 0 / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.154e-05/0.1178, allocations: 55.41 kB / 487.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.1179, allocations: 0 / 487.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001546/0.1181, allocations: 72.94 kB / 487.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.1183, allocations: 0.6768 MB / 488.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.281e-06/0.1183, allocations: 8.109 kB / 488.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.225e-05/0.1183, allocations: 7.438 kB / 488.5 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1183, allocations: 0 / 488.5 MB, free: 13 MB / 366.1 MB Notification: Performance of Templates: time 0.006196/0.1245, allocations: 3.924 MB / 492.4 MB, free: 9.074 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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1)