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.001088/0.001088, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001212, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002715/0.002715, allocations: 75.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3791, allocations: 62.43 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001546/0.3807, allocations: 495.6 kB / 0.5314 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.3838, allocations: 2.143 MB / 0.5335 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.3838, allocations: 0 / 0.5335 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.3838, allocations: 1.375 kB / 0.5335 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.981e-06/0.3838, allocations: 0 / 0.5335 GB, free: 11.79 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.002106/0.386, allocations: 0.7234 MB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.628e-05/0.386, allocations: 6.062 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.671e-05/0.3861, allocations: 0 / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.611e-05/0.3861, allocations: 13.23 kB / 0.5343 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.336e-05/0.3862, allocations: 0 / 0.5343 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.356e-06/0.3862, allocations: 0 / 0.5343 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.3884, allocations: 1.5 MB / 0.5357 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.3885, allocations: 1.25 kB / 0.5357 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.3885, allocations: 0 / 0.5357 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.3901, allocations: 1.559 MB / 0.5372 GB, free: 9.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3901, allocations: 5.156 kB / 0.5373 GB, free: 9.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3901, allocations: 0 / 0.5373 GB, free: 9.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3901, allocations: 0 / 0.5373 GB, free: 9.84 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.0006589/0.3908, allocations: 413 kB / 0.5376 GB, free: 9.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3909, allocations: 10.25 kB / 0.5377 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.3909, allocations: 0.9375 kB / 0.5377 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.391, allocations: 169.3 kB / 0.5378 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.391, allocations: 384 / 0.5378 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3911, allocations: 5.312 kB / 0.5378 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.995e-05/0.3912, allocations: 36.44 kB / 0.5379 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.3912, allocations: 0 / 0.5379 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3912, allocations: 0 / 0.5379 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3912, allocations: 1.25 kB / 0.5379 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.3912, allocations: 1.125 kB / 0.5379 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.3914, allocations: 146.8 kB / 0.538 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.372e-05/0.3914, allocations: 20.8 kB / 0.538 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.3914, allocations: 13.91 kB / 0.538 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.3915, allocations: 4 kB / 0.538 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/0.3915, allocations: 57.42 kB / 0.5381 GB, free: 8.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 2.304e-06/0.3915, allocations: 0 / 0.5381 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001866/0.3917, allocations: 67.19 kB / 0.5382 GB, free: 8.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3918, allocations: 78.14 kB / 0.5382 GB, free: 8.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.581e-05/0.3918, allocations: 93.84 kB / 0.5383 GB, free: 8.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3919, allocations: 25.7 kB / 0.5383 GB, free: 8.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.3919, allocations: 89.33 kB / 0.5384 GB, free: 8.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.3919, allocations: 3.906 kB / 0.5384 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.392, allocations: 11.88 kB / 0.5384 GB, free: 8.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3921, allocations: 320 kB / 0.5387 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.251e-05/0.3921, allocations: 1.094 kB / 0.5388 GB, free: 8.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.3922, allocations: 1.125 kB / 0.5388 GB, free: 8.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.119e-05/0.3922, allocations: 59.39 kB / 0.5388 GB, free: 8.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3922, allocations: 0 / 0.5388 GB, free: 8.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.763e-05/0.3923, allocations: 70.36 kB / 0.5389 GB, free: 7.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.3923, allocations: 34.39 kB / 0.5389 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3923, allocations: 0 / 0.5389 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3924, allocations: 0 / 0.5389 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-06/0.3924, allocations: 1.25 kB / 0.5389 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3924, allocations: 3.938 kB / 0.5389 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.3924, allocations: 1.281 kB / 0.5389 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.3924, allocations: 0 / 0.5389 GB, free: 7.949 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 0.0001175/0.3926, allocations: 149.8 kB / 0.5391 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.3926, allocations: 4.938 kB / 0.5391 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.067e-05/0.3926, allocations: 3.125 kB / 0.5391 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3926, allocations: 1.094 kB / 0.5391 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3926, allocations: 0 / 0.5391 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3926, allocations: 1.094 kB / 0.5391 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.3927, allocations: 142.8 kB / 0.5392 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.3927, allocations: 11.91 kB / 0.5392 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.3928, allocations: 5.031 kB / 0.5392 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.3928, allocations: 0 / 0.5392 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3928, allocations: 1.188 kB / 0.5392 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3928, allocations: 8 kB / 0.5392 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3928, allocations: 1.094 kB / 0.5392 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.3929, allocations: 89.08 kB / 0.5393 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.393, allocations: 82.88 kB / 0.5394 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.393, allocations: 2 kB / 0.5394 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-06/0.393, allocations: 7.875 kB / 0.5394 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.393, allocations: 1.062 kB / 0.5394 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.393, allocations: 5.125 kB / 0.5394 GB, free: 7.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.204e-05/0.3931, allocations: 75.28 kB / 0.5395 GB, free: 7.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3931, allocations: 0 / 0.5395 GB, free: 7.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001384/0.3945, allocations: 276.8 kB / 0.5397 GB, free: 7.254 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.001383/0.3958, allocations: 404.7 kB / 0.5401 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.3961, allocations: 55.94 kB / 0.5402 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3961, allocations: 1.156 kB / 0.5402 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.3961, allocations: 57.81 kB / 0.5402 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.3963, allocations: 10.12 kB / 0.5402 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.3964, allocations: 85.5 kB / 0.5403 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.3967, allocations: 0.67 MB / 0.541 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.039e-06/0.3967, allocations: 0 / 0.541 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.124e-05/0.3967, allocations: 8.656 kB / 0.541 GB, free: 6.074 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3967, allocations: 1.188 kB / 0.541 GB, free: 6.074 MB / 398.1 MB Notification: Performance of Templates: time 0.01382/0.4105, allocations: 7.315 MB / 0.5481 GB, free: 15.88 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)