Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 112.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 183 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2254/0.2254, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 59.89 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4341, allocations: 60.82 MB / 0.5195 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001886/0.4361, allocations: 0.4996 MB / 0.52 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00756/0.4436, allocations: 4.822 MB / 0.5247 GB, free: 108 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.509e-05/0.4437, allocations: 0 / 0.5247 GB, free: 108 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.4437, allocations: 0 / 0.5247 GB, free: 108 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.4437, allocations: 1.344 kB / 0.5247 GB, free: 108 kB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.008624/0.4524, allocations: 2.942 MB / 0.5276 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.416e-05/0.4524, allocations: 5.938 kB / 0.5276 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.4525, allocations: 9.547 kB / 0.5276 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.782e-05/0.4525, allocations: 3.984 kB / 0.5276 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.958e-05/0.4525, allocations: 1.219 kB / 0.5276 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.863e-06/0.4525, allocations: 0 / 0.5276 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03161/0.4842, allocations: 18.81 MB / 0.546 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.4842, allocations: 0 / 0.546 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.4843, allocations: 0 / 0.546 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04457/0.5288, allocations: 27.47 MB / 0.5728 GB, free: 5.469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.5289, allocations: 0 / 0.5728 GB, free: 5.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5289, allocations: 4 kB / 0.5728 GB, free: 5.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.5289, allocations: 0 / 0.5728 GB, free: 5.465 MB / 430.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.0106/0.5395, allocations: 0.6534 MB / 0.5735 GB, free: 4.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.5396, allocations: 8.031 kB / 0.5735 GB, free: 4.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.5397, allocations: 0.9375 kB / 0.5735 GB, free: 4.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.5399, allocations: 171 kB / 0.5737 GB, free: 4.547 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.5399, allocations: 0 / 0.5737 GB, free: 4.547 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.5399, allocations: 0 / 0.5737 GB, free: 4.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.981e-05/0.54, allocations: 37.64 kB / 0.5737 GB, free: 4.504 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.54, allocations: 0 / 0.5737 GB, free: 4.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.54, allocations: 0 / 0.5737 GB, free: 4.504 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.5401, allocations: 0 / 0.5737 GB, free: 4.504 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.648e-05/0.5401, allocations: 7.984 kB / 0.5737 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.5403, allocations: 145.6 kB / 0.5738 GB, free: 4.305 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.5403, allocations: 14.67 kB / 0.5738 GB, free: 4.281 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.5403, allocations: 12.86 kB / 0.5739 GB, free: 4.266 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.5404, allocations: 4 kB / 0.5739 GB, free: 4.262 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.5405, allocations: 60.2 kB / 0.5739 GB, free: 4.188 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.5405, allocations: 0 / 0.5739 GB, free: 4.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002034/0.5407, allocations: 63.39 kB / 0.574 GB, free: 4.113 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.5408, allocations: 81.05 kB / 0.5741 GB, free: 4.016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.71e-05/0.5409, allocations: 89.86 kB / 0.5741 GB, free: 3.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.5409, allocations: 33.7 kB / 0.5742 GB, free: 3.879 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.5409, allocations: 80.14 kB / 0.5743 GB, free: 3.797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.5409, allocations: 8.031 kB / 0.5743 GB, free: 3.789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.541, allocations: 9.719 kB / 0.5743 GB, free: 3.773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5411, allocations: 322.8 kB / 0.5746 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.5411, allocations: 0 / 0.5746 GB, free: 3.449 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.5412, allocations: 0 / 0.5746 GB, free: 3.449 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.582e-05/0.5412, allocations: 64.2 kB / 0.5746 GB, free: 3.371 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5412, allocations: 0 / 0.5746 GB, free: 3.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.31e-05/0.5413, allocations: 71.41 kB / 0.5747 GB, free: 3.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.5415, allocations: 36.66 kB / 0.5747 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5415, allocations: 0 / 0.5747 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5415, allocations: 0 / 0.5747 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/0.5415, allocations: 0 / 0.5747 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5415, allocations: 4 kB / 0.5747 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.5415, allocations: 0 / 0.5747 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.5415, allocations: 0 / 0.5747 GB, free: 3.246 MB / 430.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.519e-05/0.5416, allocations: 135.5 kB / 0.5749 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.5417, allocations: 8 kB / 0.5749 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.44e-05/0.5417, allocations: 7.156 kB / 0.5749 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5417, allocations: 3.984 kB / 0.5749 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5417, allocations: 0 / 0.5749 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.5418, allocations: 77.11 kB / 0.575 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.5418, allocations: 3.938 kB / 0.575 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.134e-05/0.5418, allocations: 4 kB / 0.575 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.5418, allocations: 7.938 kB / 0.575 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001663/0.542, allocations: 190.1 kB / 0.5752 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001969/0.5422, allocations: 236.6 kB / 0.5754 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.141e-05/0.5423, allocations: 11.92 kB / 0.5754 GB, free: 2.492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.43e-05/0.5423, allocations: 79.22 kB / 0.5755 GB, free: 2.414 MB / 430.1 MB Notification: Performance of Backend: time 2.9e-07/0.5423, allocations: 4 kB / 0.5755 GB, free: 2.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.02824/0.5706, allocations: 0.9978 MB / 0.5765 GB, free: 1.418 MB / 430.1 MB Notification: Performance of SimCode: time 0.0004363/0.571, allocations: 0.5833 MB / 0.577 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of Templates: time 0.1667/0.7377, allocations: 112.6 MB / 0.687 GB, free: 15.96 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1)