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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, 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.438/1.438, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.000931/0.000931, allocations: 116.9 kB / 291.9 MB, free: 10.94 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.3437/0.3437, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 51.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3058, allocations: 60.8 MB / 0.5064 GB, free: 38.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001697/0.3075, allocations: 0.5485 MB / 0.5069 GB, free: 37.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006712/0.3143, allocations: 5.141 MB / 0.5119 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.233e-05/0.3143, allocations: 0 / 0.5119 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.3144, allocations: 0 / 0.5119 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.3144, allocations: 0 / 0.5119 GB, free: 34.57 MB / 378.7 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.005745/0.3202, allocations: 2.572 MB / 0.5144 GB, free: 33.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.319e-05/0.3202, allocations: 9.109 kB / 0.5145 GB, free: 33.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.3203, allocations: 1.094 kB / 0.5145 GB, free: 33.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.668e-05/0.3203, allocations: 5.094 kB / 0.5145 GB, free: 33.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.612e-05/0.3203, allocations: 1.094 kB / 0.5145 GB, free: 33.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.082e-06/0.3203, allocations: 4 kB / 0.5145 GB, free: 33.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02786/0.3482, allocations: 18.92 MB / 0.5329 GB, free: 30.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.3482, allocations: 0 / 0.5329 GB, free: 30.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.3483, allocations: 1 kB / 0.5329 GB, free: 30.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04591/0.3942, allocations: 27.04 MB / 0.5594 GB, free: 9.895 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.3942, allocations: 8 kB / 0.5594 GB, free: 9.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3943, allocations: 0 / 0.5594 GB, free: 9.887 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3943, allocations: 4 kB / 0.5594 GB, free: 9.883 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.008353/0.4026, allocations: 0.6477 MB / 0.56 GB, free: 9.184 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.4027, allocations: 12.03 kB / 0.56 GB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.4028, allocations: 4.922 kB / 0.56 GB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.248e-05/0.4029, allocations: 163.2 kB / 0.5602 GB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.4029, allocations: 3.938 kB / 0.5602 GB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.4029, allocations: 0 / 0.5602 GB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.403, allocations: 37.69 kB / 0.5602 GB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4031, allocations: 0 / 0.5602 GB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4031, allocations: 0 / 0.5602 GB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4031, allocations: 0 / 0.5602 GB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.4031, allocations: 0 / 0.5602 GB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.4032, allocations: 153.6 kB / 0.5604 GB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.787e-05/0.4033, allocations: 18.52 kB / 0.5604 GB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.539e-05/0.4033, allocations: 12.94 kB / 0.5604 GB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-06/0.4033, allocations: 4 kB / 0.5604 GB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.4034, allocations: 56.27 kB / 0.5604 GB, free: 8.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4034, allocations: 0 / 0.5604 GB, free: 8.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001766/0.4035, allocations: 67.39 kB / 0.5605 GB, free: 8.527 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.4036, allocations: 81.05 kB / 0.5606 GB, free: 8.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.547e-05/0.4036, allocations: 93.84 kB / 0.5607 GB, free: 8.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.707e-06/0.4036, allocations: 25.7 kB / 0.5607 GB, free: 8.297 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.182e-05/0.4037, allocations: 84.27 kB / 0.5608 GB, free: 8.211 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.4037, allocations: 4 kB / 0.5608 GB, free: 8.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.4037, allocations: 9.719 kB / 0.5608 GB, free: 8.191 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.339e-05/0.4038, allocations: 326.7 kB / 0.5611 GB, free: 7.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.4038, allocations: 4 kB / 0.5611 GB, free: 7.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.4038, allocations: 0 / 0.5611 GB, free: 7.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.253e-05/0.4039, allocations: 60.27 kB / 0.5612 GB, free: 7.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4039, allocations: 0 / 0.5612 GB, free: 7.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.504e-05/0.4039, allocations: 67.45 kB / 0.5612 GB, free: 7.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.404, allocations: 29.7 kB / 0.5613 GB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.404, allocations: 0 / 0.5613 GB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.404, allocations: 0 / 0.5613 GB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/0.404, allocations: 0 / 0.5613 GB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.404, allocations: 4 kB / 0.5613 GB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.404, allocations: 0 / 0.5613 GB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4041, allocations: 15.88 kB / 0.5613 GB, free: 7.652 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 5.113e-05/0.4041, allocations: 135.5 kB / 0.5614 GB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.4041, allocations: 11.94 kB / 0.5614 GB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.488e-06/0.4041, allocations: 3.125 kB / 0.5614 GB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4042, allocations: 0 / 0.5614 GB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4042, allocations: 0 / 0.5614 GB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4042, allocations: 0 / 0.5614 GB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.721e-05/0.4042, allocations: 145.6 kB / 0.5616 GB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4042, allocations: 3.984 kB / 0.5616 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-06/0.4042, allocations: 4 kB / 0.5616 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4042, allocations: 0 / 0.5616 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.4043, allocations: 0 / 0.5616 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4043, allocations: 4 kB / 0.5616 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4043, allocations: 0 / 0.5616 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.4046, allocations: 0.6452 MB / 0.5622 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.4046, allocations: 77.11 kB / 0.5623 GB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.4046, allocations: 7.922 kB / 0.5623 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.128e-05/0.4046, allocations: 4 kB / 0.5623 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.4047, allocations: 4.031 kB / 0.5623 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.4047, allocations: 0 / 0.5623 GB, free: 6.465 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.624e-05/0.4047, allocations: 79.28 kB / 0.5624 GB, free: 6.387 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4047, allocations: 0 / 0.5624 GB, free: 6.387 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01255/0.4172, allocations: 3.793 MB / 0.5661 GB, free: 2.594 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.02279/0.4401, allocations: 0.9766 MB / 0.567 GB, free: 1.637 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.4403, allocations: 63.41 kB / 0.5671 GB, free: 1.562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4403, allocations: 0 / 0.5671 GB, free: 1.562 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.4403, allocations: 55.41 kB / 0.5671 GB, free: 1.496 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.4404, allocations: 3.938 kB / 0.5671 GB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002169/0.4407, allocations: 177.5 kB / 0.5673 GB, free: 1.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.382e-05/0.4408, allocations: 0.6731 MB / 0.568 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.052e-06/0.4408, allocations: 3.938 kB / 0.568 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-06/0.4408, allocations: 7.438 kB / 0.568 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.4408, allocations: 8.125 kB / 0.568 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of Templates: time 0.3581/0.7989, allocations: 112.6 MB / 0.6779 GB, free: 131.8 MB / 490.7 MB 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)