Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 241.6 MB, free: 10.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009643/0.0009643, allocations: 88.17 kB / 291.8 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3248/0.3248, allocations: 44.13 MB / 386.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 55.92 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3102, allocations: 60.8 MB / 0.5064 GB, free: 38.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001889/0.3122, allocations: 0.5421 MB / 0.5069 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.3146, allocations: 1.519 MB / 0.5084 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.171e-05/0.3146, allocations: 1.375 kB / 0.5084 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.3146, allocations: 0 / 0.5084 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.002e-06/0.3147, allocations: 4 kB / 0.5084 GB, free: 36.77 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices3‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0009945/0.3157, allocations: 210.5 kB / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.797e-05/0.3157, allocations: 1.125 kB / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.3158, allocations: 1.281 kB / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.691e-05/0.3158, allocations: 0 / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.894e-05/0.3158, allocations: 1.25 kB / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.3158, allocations: 0 / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.3169, allocations: 0.6915 MB / 0.5093 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.317, allocations: 4 kB / 0.5093 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.317, allocations: 3.469 kB / 0.5093 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008592/0.3179, allocations: 0.6511 MB / 0.5099 GB, free: 36.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3179, allocations: 0 / 0.5099 GB, free: 36.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3179, allocations: 0 / 0.5099 GB, free: 36.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3179, allocations: 0 / 0.5099 GB, free: 36.47 MB / 378.7 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.0004095/0.3183, allocations: 365.5 kB / 0.5103 GB, free: 36.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.3184, allocations: 8.844 kB / 0.5103 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.3184, allocations: 0.9375 kB / 0.5103 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.735e-05/0.3185, allocations: 167.7 kB / 0.5104 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.3185, allocations: 4.375 kB / 0.5104 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.3186, allocations: 3.281 kB / 0.5105 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.314e-05/0.3187, allocations: 33.02 kB / 0.5105 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3187, allocations: 0 / 0.5105 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3187, allocations: 0 / 0.5105 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3187, allocations: 0 / 0.5105 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.3187, allocations: 3.938 kB / 0.5105 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.3189, allocations: 151.7 kB / 0.5106 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.966e-05/0.3189, allocations: 21.48 kB / 0.5107 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.3189, allocations: 8.844 kB / 0.5107 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.319, allocations: 0 / 0.5107 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.319, allocations: 63.11 kB / 0.5107 GB, free: 35.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.284e-06/0.319, allocations: 0 / 0.5107 GB, free: 35.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001875/0.3192, allocations: 72.52 kB / 0.5108 GB, free: 35.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.3192, allocations: 77.23 kB / 0.5109 GB, free: 35.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.747e-05/0.3193, allocations: 96.83 kB / 0.511 GB, free: 35.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.3193, allocations: 25.7 kB / 0.511 GB, free: 35.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.385e-05/0.3193, allocations: 80.14 kB / 0.5111 GB, free: 35.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.3194, allocations: 0 / 0.5111 GB, free: 35.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.3194, allocations: 15.89 kB / 0.5111 GB, free: 35.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.3195, allocations: 310.8 kB / 0.5114 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.3195, allocations: 0 / 0.5114 GB, free: 34.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.3195, allocations: 2.594 kB / 0.5114 GB, free: 34.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.3195, allocations: 70.89 kB / 0.5114 GB, free: 34.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3196, allocations: 3.938 kB / 0.5114 GB, free: 34.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.711e-05/0.3196, allocations: 64.16 kB / 0.5115 GB, free: 34.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.3197, allocations: 35.36 kB / 0.5115 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3197, allocations: 3 kB / 0.5115 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3197, allocations: 0 / 0.5115 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.3197, allocations: 0 / 0.5115 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3197, allocations: 0 / 0.5115 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.3198, allocations: 0 / 0.5115 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.3198, allocations: 4.031 kB / 0.5115 GB, free: 34.63 MB / 378.7 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 6.402e-05/0.3198, allocations: 141.9 kB / 0.5117 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.3199, allocations: 6.812 kB / 0.5117 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.117e-05/0.3199, allocations: 3.125 kB / 0.5117 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3199, allocations: 0 / 0.5117 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3199, allocations: 0 / 0.5117 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3199, allocations: 0 / 0.5117 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.406e-05/0.32, allocations: 147.8 kB / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.32, allocations: 0 / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/0.32, allocations: 4 kB / 0.5118 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.32, allocations: 3.938 kB / 0.5118 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.32, allocations: 0 / 0.5118 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.32, allocations: 2.906 kB / 0.5118 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.32, allocations: 0 / 0.5118 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.3203, allocations: 0.6333 MB / 0.5125 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.3203, allocations: 83.64 kB / 0.5125 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.3203, allocations: 4 kB / 0.5125 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/0.3203, allocations: 3.938 kB / 0.5125 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.3204, allocations: 2.969 kB / 0.5125 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3204, allocations: 7.688 kB / 0.5126 GB, free: 33.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.278e-05/0.3204, allocations: 75.28 kB / 0.5126 GB, free: 33.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3204, allocations: 0 / 0.5126 GB, free: 33.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007608/0.3212, allocations: 119.6 kB / 0.5127 GB, free: 33.4 MB / 378.7 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.0008914/0.3221, allocations: 185.9 kB / 0.5129 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.951e-05/0.3222, allocations: 61.22 kB / 0.513 GB, free: 33.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3222, allocations: 4.062 kB / 0.513 GB, free: 33.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.113e-05/0.3222, allocations: 61.69 kB / 0.513 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.3224, allocations: 0 / 0.513 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.3226, allocations: 181 kB / 0.5132 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.3228, allocations: 0.6692 MB / 0.5139 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.506e-06/0.3228, allocations: 2.656 kB / 0.5139 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.458e-06/0.3228, allocations: 11.38 kB / 0.5139 GB, free: 32.25 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3228, allocations: 3.938 kB / 0.5139 GB, free: 32.24 MB / 378.7 MB Notification: Performance of Templates: time 0.008241/0.3311, allocations: 3.917 MB / 0.5177 GB, free: 32.04 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1)