Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 71.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1035, allocations: 62.44 MB / 481.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001538/0.1051, allocations: 498.8 kB / 481.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006685/0.1118, allocations: 4.871 MB / 486.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.1118, allocations: 0 / 486.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.131e-05/0.1119, allocations: 3.938 kB / 486.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.398e-06/0.1119, allocations: 0 / 486.8 MB, free: 15.16 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.006238/0.1181, allocations: 2.939 MB / 489.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.569e-05/0.1182, allocations: 3.984 kB / 489.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.1182, allocations: 7.938 kB / 489.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.293e-05/0.1183, allocations: 4 kB / 489.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.285e-05/0.1183, allocations: 0 / 489.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.6e-06/0.1183, allocations: 0 / 489.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02492/0.1432, allocations: 18.82 MB / 0.4967 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.1433, allocations: 0 / 0.4967 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.1433, allocations: 0 / 0.4967 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2255/0.3688, allocations: 27.47 MB / 0.5235 GB, free: 27.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.3688, allocations: 2.625 kB / 0.5235 GB, free: 27.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3688, allocations: 0 / 0.5235 GB, free: 27.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.3689, allocations: 0.9375 kB / 0.5235 GB, free: 27.42 MB / 382.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.01405/0.3829, allocations: 0.6532 MB / 0.5241 GB, free: 26.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.383, allocations: 13.38 kB / 0.5241 GB, free: 26.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.383, allocations: 0.9375 kB / 0.5241 GB, free: 26.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.325e-05/0.3831, allocations: 171.1 kB / 0.5243 GB, free: 26.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3831, allocations: 0 / 0.5243 GB, free: 26.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.3831, allocations: 3.562 kB / 0.5243 GB, free: 26.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.027e-05/0.3832, allocations: 29.64 kB / 0.5243 GB, free: 26.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3832, allocations: 1.219 kB / 0.5243 GB, free: 26.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.3832, allocations: 0 / 0.5243 GB, free: 26.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3832, allocations: 0 / 0.5243 GB, free: 26.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.3833, allocations: 7.047 kB / 0.5243 GB, free: 26.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.141e-05/0.3834, allocations: 151.1 kB / 0.5245 GB, free: 26.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.61e-05/0.3834, allocations: 19.14 kB / 0.5245 GB, free: 26.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.3834, allocations: 4.859 kB / 0.5245 GB, free: 26.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.3834, allocations: 5.75 kB / 0.5245 GB, free: 26.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.3835, allocations: 58.89 kB / 0.5246 GB, free: 26.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3835, allocations: 4.391 kB / 0.5246 GB, free: 26.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001532/0.3836, allocations: 64.23 kB / 0.5246 GB, free: 26.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.3837, allocations: 83.8 kB / 0.5247 GB, free: 26.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.133e-05/0.3837, allocations: 89.86 kB / 0.5248 GB, free: 26.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.3837, allocations: 29.23 kB / 0.5248 GB, free: 26.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.045e-05/0.3837, allocations: 80.14 kB / 0.5249 GB, free: 25.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.3838, allocations: 1.094 kB / 0.5249 GB, free: 25.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.3838, allocations: 16.03 kB / 0.5249 GB, free: 25.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.3839, allocations: 321 kB / 0.5252 GB, free: 25.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.3839, allocations: 0 / 0.5252 GB, free: 25.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.3839, allocations: 0 / 0.5252 GB, free: 25.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/0.3839, allocations: 63.8 kB / 0.5253 GB, free: 25.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3839, allocations: 0 / 0.5253 GB, free: 25.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.44e-05/0.384, allocations: 63.25 kB / 0.5254 GB, free: 25.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.384, allocations: 37.31 kB / 0.5254 GB, free: 25.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.384, allocations: 3.562 kB / 0.5254 GB, free: 25.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3841, allocations: 0 / 0.5254 GB, free: 25.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.3841, allocations: 3.219 kB / 0.5254 GB, free: 25.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3841, allocations: 0 / 0.5254 GB, free: 25.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/0.3841, allocations: 3.938 kB / 0.5254 GB, free: 25.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.3841, allocations: 0 / 0.5254 GB, free: 25.46 MB / 382.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 5.63e-05/0.3842, allocations: 138.8 kB / 0.5255 GB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.3842, allocations: 3.875 kB / 0.5255 GB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.125e-05/0.3842, allocations: 4.094 kB / 0.5255 GB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-06/0.3842, allocations: 0 / 0.5255 GB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3842, allocations: 3.984 kB / 0.5255 GB, free: 25.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3842, allocations: 0.6875 kB / 0.5255 GB, free: 25.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.876e-05/0.3843, allocations: 155.5 kB / 0.5257 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3843, allocations: 0.5312 kB / 0.5257 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3843, allocations: 0.5625 kB / 0.5257 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.3843, allocations: 0 / 0.5257 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.3843, allocations: 0.875 kB / 0.5257 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3843, allocations: 1.5 kB / 0.5257 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3843, allocations: 3.75 kB / 0.5257 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.955e-05/0.3844, allocations: 96.95 kB / 0.5258 GB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.3844, allocations: 81.05 kB / 0.5259 GB, free: 24.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.3844, allocations: 1 kB / 0.5259 GB, free: 24.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-06/0.3845, allocations: 7.891 kB / 0.5259 GB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-06/0.3845, allocations: 0.7188 kB / 0.5259 GB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.3845, allocations: 0 / 0.5259 GB, free: 24.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.253e-05/0.3845, allocations: 75.97 kB / 0.5259 GB, free: 24.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3845, allocations: 0.5312 kB / 0.526 GB, free: 24.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0164/0.4009, allocations: 3.782 MB / 0.5296 GB, free: 21.17 MB / 382.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.03603/0.437, allocations: 0.9709 MB / 0.5306 GB, free: 20.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.4372, allocations: 62.41 kB / 0.5307 GB, free: 20.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4372, allocations: 0 / 0.5307 GB, free: 20.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.101e-05/0.4372, allocations: 55.41 kB / 0.5307 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.4374, allocations: 3.938 kB / 0.5307 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001715/0.4376, allocations: 81.72 kB / 0.5308 GB, free: 20.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.732e-05/0.4377, allocations: 0.669 MB / 0.5314 GB, free: 19.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.671e-06/0.4377, allocations: 8.125 kB / 0.5314 GB, free: 19.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.028e-05/0.4377, allocations: 7.438 kB / 0.5315 GB, free: 19.39 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4377, allocations: 0 / 0.5315 GB, free: 19.39 MB / 382.1 MB Notification: Performance of Templates: time 0.1542/0.5919, allocations: 112.6 MB / 0.6414 GB, free: 2.645 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1)