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.001606/0.001606, allocations: 117.6 kB / 18.46 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001828/0.001828, allocations: 216.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 46.12 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 83.86 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2957, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00144/0.2972, allocations: 0.494 MB / 0.5322 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.3001, allocations: 2.141 MB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.763e-05/0.3001, allocations: 1.125 kB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.3001, allocations: 0 / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.799e-06/0.3001, allocations: 0 / 0.5343 GB, free: 11.52 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.001791/0.3019, allocations: 0.7212 MB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.351e-05/0.3019, allocations: 13.31 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.302, allocations: 1.375 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.497e-05/0.302, allocations: 0 / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.658e-05/0.302, allocations: 1.375 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.84e-06/0.302, allocations: 0 / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.304, allocations: 1.515 MB / 0.5365 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.053e-06/0.304, allocations: 4 kB / 0.5365 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.416e-05/0.304, allocations: 1.125 kB / 0.5365 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.3055, allocations: 1.551 MB / 0.538 GB, free: 9.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3055, allocations: 4.922 kB / 0.538 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.3055, allocations: 0 / 0.538 GB, free: 9.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.3055, allocations: 0 / 0.538 GB, free: 9.566 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.000629/0.3061, allocations: 417.5 kB / 0.5384 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3062, allocations: 8.969 kB / 0.5384 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.3062, allocations: 0.9375 kB / 0.5384 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3063, allocations: 165.8 kB / 0.5386 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3063, allocations: 4.375 kB / 0.5386 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.3063, allocations: 5.312 kB / 0.5386 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.878e-05/0.3064, allocations: 27.42 kB / 0.5386 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.3064, allocations: 5.062 kB / 0.5386 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3064, allocations: 7.984 kB / 0.5386 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.3064, allocations: 0 / 0.5386 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.529e-05/0.3064, allocations: 1.625 kB / 0.5386 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.3066, allocations: 142.9 kB / 0.5388 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/0.3066, allocations: 21.3 kB / 0.5388 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.3066, allocations: 8.797 kB / 0.5388 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.495e-06/0.3067, allocations: 1.969 kB / 0.5388 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.3067, allocations: 60.27 kB / 0.5388 GB, free: 8.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3067, allocations: 3.938 kB / 0.5388 GB, free: 8.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001629/0.3069, allocations: 71.78 kB / 0.5389 GB, free: 8.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.3069, allocations: 77.23 kB / 0.539 GB, free: 8.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.481e-05/0.307, allocations: 93.86 kB / 0.5391 GB, free: 8.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.307, allocations: 27.05 kB / 0.5391 GB, free: 8.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.307, allocations: 80.14 kB / 0.5392 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.307, allocations: 0 / 0.5392 GB, free: 8.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.3071, allocations: 20.48 kB / 0.5392 GB, free: 8.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3072, allocations: 316.7 kB / 0.5395 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-06/0.3072, allocations: 0 / 0.5395 GB, free: 7.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-06/0.3072, allocations: 1.844 kB / 0.5395 GB, free: 7.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.955e-05/0.3073, allocations: 65.95 kB / 0.5396 GB, free: 7.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3073, allocations: 1.5 kB / 0.5396 GB, free: 7.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.779e-05/0.3073, allocations: 68.83 kB / 0.5396 GB, free: 7.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.3074, allocations: 34.05 kB / 0.5397 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.3074, allocations: 0 / 0.5397 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3074, allocations: 1.469 kB / 0.5397 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.3074, allocations: 0 / 0.5397 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3074, allocations: 0 / 0.5397 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.3074, allocations: 1.469 kB / 0.5397 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3074, allocations: 4.031 kB / 0.5397 GB, free: 7.668 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 8.631e-05/0.3075, allocations: 138.5 kB / 0.5398 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.3075, allocations: 7.875 kB / 0.5398 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.277e-05/0.3075, allocations: 8.453 kB / 0.5398 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.3075, allocations: 0 / 0.5398 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3075, allocations: 0 / 0.5398 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.3075, allocations: 1.469 kB / 0.5398 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.926e-05/0.3076, allocations: 143.2 kB / 0.54 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3076, allocations: 3.938 kB / 0.54 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.3076, allocations: 4 kB / 0.54 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3076, allocations: 5.406 kB / 0.54 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.3076, allocations: 3.938 kB / 0.54 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3076, allocations: 5.484 kB / 0.54 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3076, allocations: 0 / 0.54 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.825e-05/0.3077, allocations: 89 kB / 0.5401 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.3078, allocations: 85.03 kB / 0.5401 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.3078, allocations: 9.391 kB / 0.5402 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-06/0.3078, allocations: 5.531 kB / 0.5402 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.3078, allocations: 0 / 0.5402 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.3078, allocations: 1.312 kB / 0.5402 GB, free: 7.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.698e-05/0.3079, allocations: 75.28 kB / 0.5402 GB, free: 7.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3079, allocations: 0 / 0.5402 GB, free: 7.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008151/0.3087, allocations: 272.2 kB / 0.5405 GB, free: 6.98 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.001273/0.31, allocations: 412.9 kB / 0.5409 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.3101, allocations: 73.11 kB / 0.541 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3101, allocations: 0 / 0.541 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.858e-05/0.3101, allocations: 53.81 kB / 0.541 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.3102, allocations: 9.641 kB / 0.541 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002033/0.3104, allocations: 76.89 kB / 0.5411 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.3107, allocations: 0.6739 MB / 0.5417 GB, free: 5.797 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.07e-06/0.3107, allocations: 0 / 0.5417 GB, free: 5.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.257e-05/0.3107, allocations: 9.781 kB / 0.5418 GB, free: 5.789 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3107, allocations: 0 / 0.5418 GB, free: 5.789 MB / 398.1 MB Notification: Performance of Templates: time 0.01221/0.323, allocations: 7.297 MB / 0.5489 GB, free: 15.63 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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)