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.0011/0.0011, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2051/0.2051, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 78.33 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1034, allocations: 62.45 MB / 481.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.00154/0.105, allocations: 486.8 kB / 481.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1068, allocations: 1.567 MB / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.1069, allocations: 0 / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.1069, allocations: 0 / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.258e-06/0.1069, allocations: 0 / 483.5 MB, free: 2.48 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.0007518/0.1077, allocations: 231.2 kB / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.224e-05/0.1077, allocations: 8 kB / 483.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.1078, allocations: 3.984 kB / 483.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.326e-05/0.1078, allocations: 0 / 483.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.796e-05/0.1078, allocations: 7.922 kB / 483.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.431e-06/0.1078, allocations: 0 / 483.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008244/0.1086, allocations: 0.7064 MB / 484.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.897e-06/0.1087, allocations: 3.984 kB / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.1087, allocations: 0 / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006428/0.1093, allocations: 0.6474 MB / 485.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1093, allocations: 4 kB / 485.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1093, allocations: 0 / 485.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1094, allocations: 0 / 485.1 MB, free: 0.875 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.000397/0.1098, allocations: 361.3 kB / 485.4 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1098, allocations: 8.031 kB / 485.5 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.1098, allocations: 0.9375 kB / 485.5 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.243e-05/0.1099, allocations: 164.4 kB / 485.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1099, allocations: 384 / 485.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.11, allocations: 8.312 kB / 485.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.203e-05/0.1101, allocations: 45.94 kB / 485.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1101, allocations: 0 / 485.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.1101, allocations: 0 / 485.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1101, allocations: 0 / 485.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.1101, allocations: 0 / 485.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.1102, allocations: 141.7 kB / 485.8 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.356e-05/0.1103, allocations: 18.61 kB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.1103, allocations: 12.84 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.1103, allocations: 0 / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.1104, allocations: 72.2 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1104, allocations: 0 / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001657/0.1106, allocations: 59.41 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.1106, allocations: 77.11 kB / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.831e-05/0.1107, allocations: 93.84 kB / 486.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1107, allocations: 25.83 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.204e-05/0.1107, allocations: 84.14 kB / 486.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.1107, allocations: 0 / 486.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.1108, allocations: 17.72 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.1109, allocations: 310.8 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.1109, allocations: 0 / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-06/0.1109, allocations: 0 / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.998e-05/0.1109, allocations: 64.2 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.111, allocations: 8 kB / 486.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.179e-05/0.111, allocations: 67.39 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.1111, allocations: 33.64 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.1111, allocations: 0 / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1111, allocations: 4 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.1111, allocations: 0 / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1111, allocations: 0 / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.1111, allocations: 0 / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1111, allocations: 0 / 486.7 MB, free: 14.96 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.516e-05/0.1112, allocations: 143.6 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.1112, allocations: 3.938 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.153e-06/0.1112, allocations: 3.125 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1112, allocations: 0 / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1113, allocations: 3.938 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1113, allocations: 0 / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.868e-05/0.1114, allocations: 145.7 kB / 487 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1114, allocations: 3.984 kB / 487 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-06/0.1114, allocations: 7.938 kB / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1114, allocations: 3.938 kB / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.1114, allocations: 4 kB / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1114, allocations: 0 / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1114, allocations: 4 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.695e-05/0.1115, allocations: 94.81 kB / 487.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.1115, allocations: 81.02 kB / 487.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.1116, allocations: 7.938 kB / 487.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-06/0.1116, allocations: 0 / 487.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.1116, allocations: 4.031 kB / 487.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.1116, allocations: 0 / 487.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.487e-05/0.1116, allocations: 75.28 kB / 487.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1116, allocations: 0 / 487.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.112, allocations: 120 kB / 487.4 MB, free: 14.16 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.0006775/0.1127, allocations: 181.3 kB / 487.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.1128, allocations: 59.34 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1128, allocations: 0 / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.084e-05/0.1128, allocations: 59.39 kB / 487.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.113, allocations: 3.938 kB / 487.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001573/0.1131, allocations: 81.06 kB / 487.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1134, allocations: 0.6729 MB / 488.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.64e-06/0.1134, allocations: 0 / 488.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.014e-05/0.1134, allocations: 7.438 kB / 488.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1134, allocations: 0 / 488.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Templates: time 0.006495/0.1199, allocations: 3.924 MB / 492.4 MB, free: 9.09 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 cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1)