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.001092/0.001092, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 87.8 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3835, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001478/0.385, allocations: 497.2 kB / 0.5315 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.3879, allocations: 2.141 MB / 0.5335 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.3879, allocations: 0 / 0.5335 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.3879, allocations: 0 / 0.5335 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.572e-06/0.388, allocations: 0 / 0.5335 GB, free: 11.58 MB / 398.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.001916/0.3899, allocations: 0.7216 MB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.572e-05/0.39, allocations: 1.375 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.39, allocations: 1.375 kB / 0.5343 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.39, allocations: 9.359 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.106e-05/0.3901, allocations: 3.938 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.041e-06/0.3901, allocations: 0 / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.3926, allocations: 1.505 MB / 0.5357 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.3926, allocations: 0 / 0.5357 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.3926, allocations: 1.094 kB / 0.5357 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.3946, allocations: 1.559 MB / 0.5373 GB, free: 9.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3946, allocations: 4 kB / 0.5373 GB, free: 9.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3946, allocations: 1.156 kB / 0.5373 GB, free: 9.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3947, allocations: 0 / 0.5373 GB, free: 9.633 MB / 398.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.0006931/0.3953, allocations: 411.9 kB / 0.5377 GB, free: 9.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.3954, allocations: 9.656 kB / 0.5377 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.3955, allocations: 6.094 kB / 0.5377 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.3956, allocations: 160.4 kB / 0.5378 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3956, allocations: 1.688 kB / 0.5378 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.3956, allocations: 8.109 kB / 0.5378 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.3957, allocations: 44 kB / 0.5379 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3958, allocations: 0 / 0.5379 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3958, allocations: 1.094 kB / 0.5379 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3958, allocations: 0 / 0.5379 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.3958, allocations: 1.156 kB / 0.5379 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.396, allocations: 146.8 kB / 0.538 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.853e-05/0.3961, allocations: 20.83 kB / 0.538 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.3961, allocations: 13.98 kB / 0.538 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.3961, allocations: 5.062 kB / 0.5381 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/0.3962, allocations: 65.47 kB / 0.5381 GB, free: 8.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3962, allocations: 0 / 0.5381 GB, free: 8.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000197/0.3964, allocations: 58.28 kB / 0.5382 GB, free: 8.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.3965, allocations: 78.27 kB / 0.5382 GB, free: 8.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.874e-05/0.3965, allocations: 93.86 kB / 0.5383 GB, free: 8.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.3965, allocations: 26.86 kB / 0.5384 GB, free: 8.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.3966, allocations: 88.25 kB / 0.5384 GB, free: 8.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.3966, allocations: 1.125 kB / 0.5384 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.3966, allocations: 10.84 kB / 0.5385 GB, free: 8.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3967, allocations: 316 kB / 0.5388 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.3968, allocations: 1.156 kB / 0.5388 GB, free: 7.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-06/0.3968, allocations: 1 kB / 0.5388 GB, free: 7.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.915e-05/0.3968, allocations: 67.55 kB / 0.5388 GB, free: 7.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3968, allocations: 4.062 kB / 0.5388 GB, free: 7.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.809e-05/0.3969, allocations: 65.92 kB / 0.5389 GB, free: 7.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.3969, allocations: 30.95 kB / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.397, allocations: 1.062 kB / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.397, allocations: 0 / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.684e-06/0.397, allocations: 1.438 kB / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.397, allocations: 0 / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.397, allocations: 0 / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.397, allocations: 1.219 kB / 0.5389 GB, free: 7.738 MB / 398.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.064e-05/0.3971, allocations: 146 kB / 0.5391 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.3971, allocations: 4.969 kB / 0.5391 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.775e-06/0.3971, allocations: 3.125 kB / 0.5391 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3971, allocations: 1.062 kB / 0.5391 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3972, allocations: 0 / 0.5391 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3972, allocations: 0 / 0.5391 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.671e-05/0.3973, allocations: 151.2 kB / 0.5392 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3973, allocations: 9.188 kB / 0.5392 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-06/0.3973, allocations: 3.984 kB / 0.5392 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.3973, allocations: 0 / 0.5392 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.3973, allocations: 5.219 kB / 0.5392 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3973, allocations: 3.938 kB / 0.5392 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3973, allocations: 1.219 kB / 0.5392 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.254e-05/0.3974, allocations: 88.66 kB / 0.5393 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.3975, allocations: 86.09 kB / 0.5394 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.3975, allocations: 1.188 kB / 0.5394 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-06/0.3975, allocations: 1.125 kB / 0.5394 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.3975, allocations: 32 / 0.5394 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3975, allocations: 5.156 kB / 0.5394 GB, free: 7.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.75e-05/0.3976, allocations: 75.28 kB / 0.5395 GB, free: 7.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3976, allocations: 0 / 0.5395 GB, free: 7.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00132/0.3989, allocations: 277.2 kB / 0.5397 GB, free: 7.047 MB / 398.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.001605/0.4005, allocations: 421.7 kB / 0.5402 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.4006, allocations: 61.39 kB / 0.5402 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4006, allocations: 0 / 0.5402 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.119e-05/0.4007, allocations: 59.03 kB / 0.5403 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.4008, allocations: 7.375 kB / 0.5403 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.401, allocations: 83.91 kB / 0.5404 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.4013, allocations: 0.6701 MB / 0.541 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.633e-06/0.4013, allocations: 0 / 0.541 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.4013, allocations: 9.656 kB / 0.541 GB, free: 5.852 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4013, allocations: 0 / 0.541 GB, free: 5.852 MB / 398.1 MB Notification: Performance of Templates: time 0.01581/0.4172, allocations: 7.298 MB / 0.5481 GB, free: 15.7 MB / 414.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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)