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.001731/0.001731, allocations: 115.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002213/0.002213, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.585/2.585, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4964/0.4964, allocations: 46.09 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004244/0.004244, allocations: 75.88 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5921/0.5964, allocations: 62.43 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.003954/0.6004, allocations: 0.4978 MB / 0.5321 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007399/0.6078, allocations: 2.134 MB / 0.5342 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.6079, allocations: 4 kB / 0.5342 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.608, allocations: 1.375 kB / 0.5342 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.184e-06/0.608, allocations: 0 / 0.5342 GB, free: 11.55 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.005259/0.6133, allocations: 0.7254 MB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.957e-05/0.6134, allocations: 5.312 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.6135, allocations: 1.375 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.894e-05/0.6135, allocations: 0 / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.291e-05/0.6135, allocations: 1.375 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.876e-06/0.6136, allocations: 0 / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00523/0.6188, allocations: 1.512 MB / 0.5364 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.6189, allocations: 3.984 kB / 0.5364 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.6189, allocations: 1.188 kB / 0.5364 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004771/0.6237, allocations: 1.555 MB / 0.5379 GB, free: 9.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6238, allocations: 0 / 0.5379 GB, free: 9.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.6238, allocations: 1.188 kB / 0.5379 GB, free: 9.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.6238, allocations: 0 / 0.5379 GB, free: 9.605 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.0009636/0.6248, allocations: 420 kB / 0.5383 GB, free: 9.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.6249, allocations: 13.42 kB / 0.5383 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.6249, allocations: 0.9375 kB / 0.5383 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.6261, allocations: 161.8 kB / 0.5385 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.6261, allocations: 384 / 0.5385 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.6262, allocations: 5.094 kB / 0.5385 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.6263, allocations: 28.27 kB / 0.5385 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.6263, allocations: 0 / 0.5385 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.6263, allocations: 0 / 0.5385 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.6264, allocations: 5.125 kB / 0.5385 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.777e-05/0.6264, allocations: 1.094 kB / 0.5385 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.6267, allocations: 151.2 kB / 0.5387 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.393e-05/0.6268, allocations: 19.8 kB / 0.5387 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/0.6268, allocations: 10.05 kB / 0.5387 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.6268, allocations: 1.188 kB / 0.5387 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.6269, allocations: 65.25 kB / 0.5388 GB, free: 8.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 2.415e-06/0.627, allocations: 3.938 kB / 0.5388 GB, free: 8.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002914/0.6273, allocations: 71 kB / 0.5388 GB, free: 8.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/0.6274, allocations: 77.11 kB / 0.5389 GB, free: 8.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.6275, allocations: 94.98 kB / 0.539 GB, free: 8.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.6275, allocations: 25.7 kB / 0.539 GB, free: 8.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.6276, allocations: 80.14 kB / 0.5391 GB, free: 8.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.6276, allocations: 1.125 kB / 0.5391 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.6277, allocations: 12.09 kB / 0.5391 GB, free: 8.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.6279, allocations: 320 kB / 0.5394 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.6279, allocations: 3.984 kB / 0.5394 GB, free: 7.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.229e-05/0.6279, allocations: 1.188 kB / 0.5394 GB, free: 7.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.788e-05/0.628, allocations: 67.67 kB / 0.5395 GB, free: 7.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6281, allocations: 0 / 0.5395 GB, free: 7.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001321/0.6282, allocations: 65.84 kB / 0.5396 GB, free: 7.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.354e-05/0.6283, allocations: 35.62 kB / 0.5396 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6283, allocations: 8.078 kB / 0.5396 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.6283, allocations: 1.094 kB / 0.5396 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.6283, allocations: 0 / 0.5396 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.6283, allocations: 1.094 kB / 0.5396 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.6284, allocations: 0 / 0.5396 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.6284, allocations: 1.031 kB / 0.5396 GB, free: 7.699 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.0001521/0.6286, allocations: 137.9 kB / 0.5397 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.6286, allocations: 4.969 kB / 0.5397 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.716e-05/0.6286, allocations: 7.125 kB / 0.5398 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.6286, allocations: 5.438 kB / 0.5398 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6287, allocations: 0 / 0.5398 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.6287, allocations: 81.09 kB / 0.5398 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.6288, allocations: 1.188 kB / 0.5398 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.851e-05/0.6288, allocations: 1.188 kB / 0.5398 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.6288, allocations: 0 / 0.5398 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002054/0.629, allocations: 195.5 kB / 0.54 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002265/0.6293, allocations: 243.2 kB / 0.5403 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.371e-05/0.6293, allocations: 6.469 kB / 0.5403 GB, free: 6.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.692e-05/0.6294, allocations: 75.28 kB / 0.5403 GB, free: 6.906 MB / 398.1 MB Notification: Performance of Backend: time 6.71e-07/0.6294, allocations: 0 / 0.5403 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004724/0.6341, allocations: 457 kB / 0.5408 GB, free: 6.613 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005946/0.6348, allocations: 0.573 MB / 0.5413 GB, free: 5.984 MB / 398.1 MB Notification: Performance of Templates: time 0.03577/0.6706, allocations: 7.317 MB / 0.5485 GB, free: 92 kB / 398.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)