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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001112/0.001112, allocations: 180.1 kB / 18.71 MB, free: 4.348 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.297/1.297, allocations: 222.9 MB / 242.4 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.1986/0.1986, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4015, allocations: 60.82 MB / 0.5189 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001436/0.403, allocations: 0.4962 MB / 0.5194 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.4048, allocations: 1.512 MB / 0.5208 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.4049, allocations: 0 / 0.5208 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.219e-05/0.4049, allocations: 0 / 0.5208 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.712e-06/0.4049, allocations: 4 kB / 0.5208 GB, free: 2.195 MB / 382.1 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.0008488/0.4058, allocations: 227.4 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.515e-05/0.4058, allocations: 1.938 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.4059, allocations: 1.828 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.73e-05/0.4059, allocations: 1.219 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.723e-05/0.4059, allocations: 0 / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.63e-06/0.4059, allocations: 5.25 kB / 0.5211 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.407, allocations: 0.7034 MB / 0.5218 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-06/0.407, allocations: 0 / 0.5218 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.4071, allocations: 5.219 kB / 0.5218 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000946/0.408, allocations: 0.6419 MB / 0.5224 GB, free: 1.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.408, allocations: 1.406 kB / 0.5224 GB, free: 1.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.408, allocations: 0 / 0.5224 GB, free: 1.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.4081, allocations: 0 / 0.5224 GB, free: 1.898 MB / 382.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.0003852/0.4084, allocations: 364.4 kB / 0.5227 GB, free: 1.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4085, allocations: 9.5 kB / 0.5228 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.4085, allocations: 3.125 kB / 0.5228 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.344e-05/0.4086, allocations: 161.1 kB / 0.5229 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.4086, allocations: 5.594 kB / 0.5229 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.4086, allocations: 384 / 0.5229 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.591e-05/0.4087, allocations: 33.88 kB / 0.5229 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.4087, allocations: 0 / 0.5229 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.4087, allocations: 5.828 kB / 0.523 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4088, allocations: 0 / 0.523 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.4088, allocations: 5.25 kB / 0.523 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.4089, allocations: 149 kB / 0.5231 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.3e-05/0.409, allocations: 24.73 kB / 0.5231 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.409, allocations: 7.109 kB / 0.5231 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.409, allocations: 0 / 0.5231 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.4091, allocations: 62.23 kB / 0.5232 GB, free: 0.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.4091, allocations: 1.125 kB / 0.5232 GB, free: 0.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002291/0.4093, allocations: 63.62 kB / 0.5233 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.4094, allocations: 82.78 kB / 0.5233 GB, free: 0.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.883e-05/0.4094, allocations: 95.33 kB / 0.5234 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.4094, allocations: 29.64 kB / 0.5234 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.4095, allocations: 80.8 kB / 0.5235 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.4095, allocations: 1.125 kB / 0.5235 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.4095, allocations: 12.7 kB / 0.5235 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.4096, allocations: 311.4 kB / 0.5238 GB, free: 252 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.4096, allocations: 1.188 kB / 0.5238 GB, free: 252 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-06/0.4097, allocations: 1.875 kB / 0.5238 GB, free: 252 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.596e-05/0.4097, allocations: 67.72 kB / 0.5239 GB, free: 172 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4097, allocations: 1.125 kB / 0.5239 GB, free: 172 kB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.731e-05/0.4098, allocations: 63.22 kB / 0.524 GB, free: 104 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.4098, allocations: 36.52 kB / 0.524 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4099, allocations: 0.6094 kB / 0.524 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4099, allocations: 0 / 0.524 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.4099, allocations: 1.188 kB / 0.524 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.4099, allocations: 0.6562 kB / 0.524 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.4099, allocations: 1.344 kB / 0.524 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.4099, allocations: 4.031 kB / 0.524 GB, free: 64 kB / 382.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.0001575/0.4101, allocations: 135.1 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.4101, allocations: 9.672 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/0.4102, allocations: 3.641 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-07/0.4102, allocations: 1.25 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4102, allocations: 0 / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4102, allocations: 0.5625 kB / 0.5242 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.4103, allocations: 147.2 kB / 0.5243 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4104, allocations: 3.938 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.4104, allocations: 4 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4104, allocations: 4.547 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4104, allocations: 1.562 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.4104, allocations: 0 / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4104, allocations: 4.5 kB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.4105, allocations: 96.86 kB / 0.5244 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.4106, allocations: 78.23 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.4106, allocations: 5.312 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.4106, allocations: 6.125 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.4107, allocations: 0 / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.4107, allocations: 6.578 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.637e-05/0.4107, allocations: 75.28 kB / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4107, allocations: 0 / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005245/0.4112, allocations: 122.6 kB / 0.5247 GB, free: 15.41 MB / 398.1 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.0008256/0.4121, allocations: 176.8 kB / 0.5248 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.4122, allocations: 60.98 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4122, allocations: 0 / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.4123, allocations: 60.11 kB / 0.525 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.4124, allocations: 8.375 kB / 0.525 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.4126, allocations: 80.11 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.4129, allocations: 0.6739 MB / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.56e-06/0.4129, allocations: 0 / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.413, allocations: 9.312 kB / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.413, allocations: 0 / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of Templates: time 0.007429/0.4204, allocations: 3.929 MB / 0.5296 GB, free: 12.54 MB / 398.1 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)