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.001074/0.001074, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 76.44 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1098, allocations: 62.44 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001589/0.1114, allocations: 498.7 kB / 481.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.114, allocations: 2.137 MB / 484.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.114, allocations: 7.938 kB / 484.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.879e-06/0.1141, allocations: 4 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.929e-06/0.1141, allocations: 0 / 484.1 MB, free: 1.895 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.001722/0.1158, allocations: 0.7199 MB / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.005e-05/0.1158, allocations: 0 / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.1159, allocations: 7.984 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.279e-05/0.1159, allocations: 0 / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.535e-05/0.1159, allocations: 0 / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.789e-06/0.1159, allocations: 0 / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.1177, allocations: 1.506 MB / 486.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-06/0.1177, allocations: 4 kB / 486.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.1178, allocations: 3.938 kB / 486.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.1191, allocations: 1.548 MB / 487.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1191, allocations: 0 / 487.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1192, allocations: 0 / 487.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.778e-06/0.1192, allocations: 0 / 487.9 MB, free: 14.11 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.0004889/0.1197, allocations: 421.2 kB / 488.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1197, allocations: 12.03 kB / 488.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.1197, allocations: 4.875 kB / 488.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.766e-05/0.1198, allocations: 160.4 kB / 488.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1199, allocations: 8.359 kB / 488.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.1199, allocations: 4.125 kB / 488.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.568e-05/0.12, allocations: 25.7 kB / 488.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.12, allocations: 4 kB / 488.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.12, allocations: 0 / 488.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.12, allocations: 3.938 kB / 488.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.475e-05/0.12, allocations: 4 kB / 488.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001185/0.1201, allocations: 145.7 kB / 488.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.711e-05/0.1202, allocations: 26.55 kB / 488.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.1202, allocations: 12.8 kB / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-06/0.1202, allocations: 0 / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.1203, allocations: 60.33 kB / 488.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1203, allocations: 0 / 488.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001486/0.1204, allocations: 63.39 kB / 488.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.1205, allocations: 85.05 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.188e-05/0.1205, allocations: 93.86 kB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.1205, allocations: 25.7 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.1206, allocations: 80.14 kB / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.1206, allocations: 3.906 kB / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.1206, allocations: 13.72 kB / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.1207, allocations: 322.9 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.1208, allocations: 0 / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/0.1208, allocations: 0 / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.1208, allocations: 64.27 kB / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1208, allocations: 0 / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.327e-05/0.1209, allocations: 67.34 kB / 489.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.1209, allocations: 33.69 kB / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1209, allocations: 0 / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.121, allocations: 7.938 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.121, allocations: 4.094 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.121, allocations: 0 / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.29e-05/0.121, allocations: 0 / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.121, allocations: 0 / 489.6 MB, free: 12.12 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 7.424e-05/0.1211, allocations: 135.5 kB / 489.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.1211, allocations: 3.938 kB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.083e-06/0.1211, allocations: 3.125 kB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1211, allocations: 0 / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1211, allocations: 0 / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1211, allocations: 7.984 kB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.533e-05/0.1212, allocations: 149.7 kB / 489.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1212, allocations: 3.938 kB / 489.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1212, allocations: 3.938 kB / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1212, allocations: 0 / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.1212, allocations: 0 / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1213, allocations: 0 / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1213, allocations: 0 / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.98e-05/0.1213, allocations: 98.77 kB / 490 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.1214, allocations: 84.98 kB / 490.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.1214, allocations: 4 kB / 490.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-06/0.1214, allocations: 0 / 490.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-06/0.1214, allocations: 3.984 kB / 490.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1214, allocations: 0 / 490.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.362e-05/0.1215, allocations: 75.28 kB / 490.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1215, allocations: 0 / 490.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006796/0.1222, allocations: 268 kB / 490.4 MB, free: 11.19 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.001155/0.1233, allocations: 429.1 kB / 490.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.162e-05/0.1234, allocations: 59.39 kB / 490.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1234, allocations: 0 / 490.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.48e-05/0.1235, allocations: 55.41 kB / 491 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.0001201/0.1236, allocations: 10.75 kB / 491 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001556/0.1238, allocations: 80.88 kB / 491 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.124, allocations: 0.6728 MB / 491.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.261e-06/0.124, allocations: 8.109 kB / 491.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-06/0.124, allocations: 7.438 kB / 491.7 MB, free: 9.809 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.124, allocations: 0 / 491.7 MB, free: 9.809 MB / 366.1 MB Notification: Performance of Templates: time 0.01104/0.1351, 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 cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)