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.001127/0.001127, allocations: 112.7 kB / 18.46 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 79.86 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3228, allocations: 62.44 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001382/0.3243, allocations: 0.4912 MB / 0.5321 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006988/0.3313, allocations: 4.874 MB / 0.5369 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.3313, allocations: 0 / 0.5369 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.3313, allocations: 0 / 0.5369 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.21e-06/0.3313, allocations: 5.344 kB / 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.006722/0.3381, allocations: 2.929 MB / 0.5398 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.078e-05/0.3381, allocations: 9.328 kB / 0.5398 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.3382, allocations: 1.219 kB / 0.5398 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.337e-05/0.3382, allocations: 0 / 0.5398 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.682e-05/0.3382, allocations: 1.656 kB / 0.5398 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.68e-06/0.3382, allocations: 0 / 0.5398 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02747/0.3657, allocations: 18.82 MB / 0.5581 GB, free: 6.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.3657, allocations: 0 / 0.5581 GB, free: 6.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.3658, allocations: 4 kB / 0.5581 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03306/0.3988, allocations: 27.48 MB / 0.585 GB, free: 11.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3989, allocations: 0 / 0.585 GB, free: 11.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3989, allocations: 0 / 0.585 GB, free: 11.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.3989, allocations: 0 / 0.585 GB, free: 11.08 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.006612/0.4055, allocations: 0.6456 MB / 0.5856 GB, free: 10.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4056, allocations: 12.02 kB / 0.5856 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.4056, allocations: 0.9375 kB / 0.5856 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.026e-05/0.4057, allocations: 167 kB / 0.5858 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4057, allocations: 4 kB / 0.5858 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.4057, allocations: 4 kB / 0.5858 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.942e-05/0.4058, allocations: 33.64 kB / 0.5858 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.4058, allocations: 3.938 kB / 0.5858 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.4058, allocations: 3.938 kB / 0.5858 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.4058, allocations: 0 / 0.5858 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.4059, allocations: 4 kB / 0.5858 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001145/0.406, allocations: 149.6 kB / 0.586 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.536e-05/0.406, allocations: 18.61 kB / 0.586 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.406, allocations: 12.86 kB / 0.586 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.4061, allocations: 0 / 0.586 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.4061, allocations: 56.27 kB / 0.5861 GB, free: 9.805 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 2.304e-06/0.4061, allocations: 0 / 0.5861 GB, free: 9.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001524/0.4063, allocations: 67.39 kB / 0.5861 GB, free: 9.727 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.4063, allocations: 77.11 kB / 0.5862 GB, free: 9.633 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.421e-05/0.4064, allocations: 89.86 kB / 0.5863 GB, free: 9.535 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.4064, allocations: 29.83 kB / 0.5863 GB, free: 9.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.217e-05/0.4064, allocations: 88.14 kB / 0.5864 GB, free: 9.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.4064, allocations: 3.906 kB / 0.5864 GB, free: 9.406 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.4065, allocations: 9.719 kB / 0.5864 GB, free: 9.391 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.4065, allocations: 318.8 kB / 0.5867 GB, free: 9.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.4066, allocations: 3.984 kB / 0.5867 GB, free: 9.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.4066, allocations: 4 kB / 0.5867 GB, free: 9.062 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.841e-05/0.4066, allocations: 64.2 kB / 0.5868 GB, free: 8.984 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4066, allocations: 4.062 kB / 0.5868 GB, free: 8.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.636e-05/0.4067, allocations: 63.41 kB / 0.5868 GB, free: 8.906 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.4067, allocations: 29.7 kB / 0.5869 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4068, allocations: 3.984 kB / 0.5869 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4068, allocations: 0 / 0.5869 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.4068, allocations: 0 / 0.5869 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4068, allocations: 4 kB / 0.5869 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.4068, allocations: 0 / 0.5869 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.4068, allocations: 0 / 0.5869 GB, free: 8.863 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 7.554e-05/0.4069, allocations: 147.5 kB / 0.587 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.4069, allocations: 3.984 kB / 0.587 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.744e-06/0.4069, allocations: 3.125 kB / 0.587 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.4069, allocations: 0 / 0.587 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.4069, allocations: 0 / 0.587 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.407, allocations: 81.09 kB / 0.5871 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.407, allocations: 3.938 kB / 0.5871 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-06/0.407, allocations: 7.938 kB / 0.5871 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.407, allocations: 4 kB / 0.5871 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001049/0.4071, allocations: 194 kB / 0.5873 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001191/0.4073, allocations: 240.5 kB / 0.5875 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.669e-05/0.4073, allocations: 7.875 kB / 0.5875 GB, free: 8.105 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.708e-05/0.4073, allocations: 75.28 kB / 0.5876 GB, free: 8.031 MB / 446.1 MB Notification: Performance of Backend: time 3.9e-07/0.4073, allocations: 7.938 kB / 0.5876 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01913/0.4265, allocations: 1.006 MB / 0.5886 GB, free: 7.02 MB / 446.1 MB Notification: Performance of SimCode: time 0.0003689/0.4269, allocations: 0.5795 MB / 0.5892 GB, free: 6.379 MB / 446.1 MB Notification: Performance of Templates: time 0.1403/0.5672, allocations: 112.6 MB / 0.6991 GB, free: 5.562 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)