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.001933/0.001933, allocations: 114.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002338/0.002338, allocations: 206.8 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.763/2.763, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4137/0.4137, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004481/0.004482, allocations: 75.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5891/0.5937, allocations: 62.43 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.002681/0.5964, allocations: 0.4933 MB / 0.5321 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.6103, allocations: 4.881 MB / 0.5369 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.6104, allocations: 0 / 0.5369 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.6104, allocations: 0 / 0.5369 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.067e-05/0.6106, allocations: 0 / 0.5369 GB, free: 9.504 MB / 398.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.01572/0.6263, allocations: 2.943 MB / 0.5398 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.129e-05/0.6264, allocations: 1.438 kB / 0.5398 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.6265, allocations: 1.438 kB / 0.5398 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.6266, allocations: 1.469 kB / 0.5398 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.322e-05/0.6266, allocations: 3.984 kB / 0.5398 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.6266, allocations: 1.344 kB / 0.5398 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05285/0.6795, allocations: 18.82 MB / 0.5581 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.6796, allocations: 0 / 0.5581 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.6796, allocations: 0 / 0.5581 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06388/0.7435, allocations: 27.48 MB / 0.585 GB, free: 11.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/0.7436, allocations: 4 kB / 0.585 GB, free: 11.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.7437, allocations: 3.938 kB / 0.585 GB, free: 11.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.7437, allocations: 0 / 0.585 GB, free: 11.09 MB / 446.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.01047/0.7542, allocations: 0.6814 MB / 0.5857 GB, free: 10.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/0.7543, allocations: 8.031 kB / 0.5857 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.7543, allocations: 4.938 kB / 0.5857 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.7545, allocations: 163.2 kB / 0.5858 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.7546, allocations: 0 / 0.5858 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.7546, allocations: 0 / 0.5858 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.7547, allocations: 33.7 kB / 0.5859 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.7548, allocations: 0 / 0.5859 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.7548, allocations: 3.938 kB / 0.5859 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.7548, allocations: 3.984 kB / 0.5859 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.313e-05/0.7549, allocations: 0 / 0.5859 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.7551, allocations: 153.6 kB / 0.586 GB, free: 9.898 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.954e-05/0.7552, allocations: 18.52 kB / 0.586 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.7552, allocations: 4.859 kB / 0.586 GB, free: 9.863 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.7552, allocations: 8.094 kB / 0.586 GB, free: 9.855 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.128e-05/0.7553, allocations: 60.27 kB / 0.5861 GB, free: 9.781 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 2.094e-06/0.7553, allocations: 0 / 0.5861 GB, free: 9.781 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000286/0.7556, allocations: 71.33 kB / 0.5862 GB, free: 9.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.7557, allocations: 77.11 kB / 0.5862 GB, free: 9.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.7558, allocations: 89.86 kB / 0.5863 GB, free: 9.508 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.7558, allocations: 25.7 kB / 0.5863 GB, free: 9.477 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.7559, allocations: 84.27 kB / 0.5864 GB, free: 9.391 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.7559, allocations: 0 / 0.5864 GB, free: 9.391 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.756, allocations: 13.72 kB / 0.5864 GB, free: 9.371 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7562, allocations: 322.8 kB / 0.5868 GB, free: 9.047 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.7562, allocations: 0 / 0.5868 GB, free: 9.047 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/0.7562, allocations: 4 kB / 0.5868 GB, free: 9.043 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.312e-05/0.7563, allocations: 60.27 kB / 0.5868 GB, free: 8.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7563, allocations: 3.938 kB / 0.5868 GB, free: 8.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001312/0.7565, allocations: 67.39 kB / 0.5869 GB, free: 8.887 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/0.7566, allocations: 36.36 kB / 0.5869 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.7566, allocations: 0 / 0.5869 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.7566, allocations: 3.984 kB / 0.5869 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.764e-06/0.7566, allocations: 0 / 0.5869 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.7567, allocations: 0 / 0.5869 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.7567, allocations: 0 / 0.5869 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.7567, allocations: 4 kB / 0.5869 GB, free: 8.84 MB / 446.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.0001436/0.7569, allocations: 147.5 kB / 0.5871 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.7569, allocations: 0 / 0.5871 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.7569, allocations: 7.109 kB / 0.5871 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.757, allocations: 4 kB / 0.5871 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.757, allocations: 0 / 0.5871 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.7571, allocations: 81.05 kB / 0.5872 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.7571, allocations: 3.938 kB / 0.5872 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.7571, allocations: 3.938 kB / 0.5872 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.7572, allocations: 0 / 0.5872 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002092/0.7574, allocations: 202.1 kB / 0.5874 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002361/0.7576, allocations: 232.5 kB / 0.5876 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.758e-05/0.7577, allocations: 11.92 kB / 0.5876 GB, free: 8.082 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.777e-05/0.7578, allocations: 75.28 kB / 0.5877 GB, free: 8.008 MB / 446.1 MB Notification: Performance of Backend: time 7.91e-07/0.7578, allocations: 0 / 0.5877 GB, free: 8.008 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.03202/0.7898, allocations: 1.014 MB / 0.5886 GB, free: 6.984 MB / 446.1 MB Notification: Performance of SimCode: time 0.0004787/0.7903, allocations: 0.5794 MB / 0.5892 GB, free: 6.344 MB / 446.1 MB Notification: Performance of Templates: time 0.2823/1.073, allocations: 112.6 MB / 0.6992 GB, free: 5.535 MB / 0.545 GB 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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1)