Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, 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.001116/0.001116, 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.312/1.312, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2058/0.2058, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 79.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1139, allocations: 62.45 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001787/0.1157, allocations: 482.9 kB / 481.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.1188, allocations: 2.137 MB / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.1188, allocations: 0 / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.1189, allocations: 0 / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.509e-06/0.1189, allocations: 0 / 484.1 MB, free: 1.91 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.1209, allocations: 0.7315 MB / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.031e-05/0.121, allocations: 0 / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.121, allocations: 4 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.573e-05/0.121, allocations: 0 / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.188e-05/0.1211, allocations: 7.938 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.59e-06/0.1211, allocations: 0 / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.1232, allocations: 1.506 MB / 486.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.173e-06/0.1232, allocations: 0 / 486.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.1232, allocations: 7.984 kB / 486.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.1249, allocations: 1.548 MB / 487.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1249, allocations: 0 / 487.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.125, allocations: 4 kB / 487.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.125, allocations: 0 / 487.9 MB, free: 14.1 MB / 366.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.0005887/0.1256, allocations: 417.2 kB / 488.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1256, allocations: 8.031 kB / 488.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.1256, allocations: 0.9375 kB / 488.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1258, allocations: 164.4 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1258, allocations: 384 / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.1258, allocations: 16.11 kB / 488.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.126, allocations: 25.7 kB / 488.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.126, allocations: 0 / 488.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.126, allocations: 3.938 kB / 488.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.126, allocations: 0 / 488.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.071e-05/0.126, allocations: 4 kB / 488.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.1262, allocations: 149.7 kB / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.458e-05/0.1262, allocations: 18.61 kB / 488.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.1263, allocations: 16.8 kB / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.1263, allocations: 0 / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.1263, allocations: 56.27 kB / 488.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.1263, allocations: 0 / 488.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001794/0.1265, allocations: 75.33 kB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.1266, allocations: 77.11 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.954e-05/0.1266, allocations: 89.86 kB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.1267, allocations: 33.83 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.1267, allocations: 84.12 kB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.1267, allocations: 7.844 kB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.1268, allocations: 9.719 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1269, allocations: 314.8 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.1269, allocations: 0 / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-06/0.1269, allocations: 0 / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.794e-05/0.127, allocations: 80.25 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.127, allocations: 0 / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.425e-05/0.1271, allocations: 63.34 kB / 489.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.1271, allocations: 29.7 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1271, allocations: 0 / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1271, allocations: 0 / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.1271, allocations: 0 / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1271, allocations: 3.984 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.537e-05/0.1272, allocations: 4 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1272, allocations: 0 / 489.6 MB, free: 12.11 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 9.123e-05/0.1273, allocations: 139.6 kB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.1273, allocations: 7.938 kB / 489.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.476e-06/0.1273, allocations: 3.125 kB / 489.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1273, allocations: 0 / 489.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1273, allocations: 0 / 489.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1273, allocations: 0 / 489.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.776e-05/0.1274, allocations: 145.7 kB / 489.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.1274, allocations: 7.938 kB / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.1274, allocations: 0 / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1275, allocations: 0 / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1275, allocations: 4 kB / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1275, allocations: 3.938 kB / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1275, allocations: 0 / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.013e-05/0.1276, allocations: 90.83 kB / 490 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.1276, allocations: 84.98 kB / 490.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1277, allocations: 0 / 490.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-06/0.1277, allocations: 0 / 490.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.1277, allocations: 8.031 kB / 490.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1277, allocations: 0 / 490.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.643e-05/0.1277, allocations: 75.28 kB / 490.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.455e-06/0.1277, allocations: 0 / 490.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00081/0.1286, allocations: 275.9 kB / 490.4 MB, free: 11.18 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.001272/0.1298, allocations: 423.7 kB / 490.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.22e-05/0.1299, allocations: 59.34 kB / 490.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.13, allocations: 0 / 490.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.13, allocations: 59.47 kB / 490.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.1301, allocations: 15.8 kB / 491 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001584/0.1303, allocations: 76.94 kB / 491 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.1305, allocations: 0.6729 MB / 491.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.738e-06/0.1305, allocations: 0 / 491.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.288e-06/0.1305, allocations: 7.438 kB / 491.7 MB, free: 9.809 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1306, allocations: 0 / 491.7 MB, free: 9.809 MB / 366.1 MB Notification: Performance of Templates: time 0.01172/0.1423, allocations: 7.293 MB / 499 MB, free: 2.504 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)