Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.002032/0.002032, allocations: 183.1 kB / 18.71 MB, free: 4.344 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.392/1.392, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2317/0.2317, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.09 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4235, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001602/0.4251, allocations: 0.4976 MB / 0.5194 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003157/0.4283, allocations: 2.087 MB / 0.5214 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.4283, allocations: 0 / 0.5214 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.4284, allocations: 0 / 0.5214 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.548e-06/0.4284, allocations: 4.969 kB / 0.5214 GB, free: 1.855 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00244/0.4309, allocations: 0.7231 MB / 0.5221 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.733e-05/0.431, allocations: 5.031 kB / 0.5221 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.864e-05/0.431, allocations: 2.156 kB / 0.5221 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.804e-05/0.431, allocations: 1.188 kB / 0.5221 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.324e-05/0.4311, allocations: 0 / 0.5221 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.4311, allocations: 5.062 kB / 0.5221 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.4338, allocations: 1.503 MB / 0.5236 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.4338, allocations: 5.906 kB / 0.5236 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.4338, allocations: 0 / 0.5236 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.4357, allocations: 1.548 MB / 0.5251 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4357, allocations: 0 / 0.5251 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4357, allocations: 0 / 0.5251 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.4357, allocations: 5.312 kB / 0.5251 GB, free: 0.582 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.000665/0.4364, allocations: 412 kB / 0.5255 GB, free: 156 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/0.4365, allocations: 13.97 kB / 0.5255 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.4366, allocations: 0.9375 kB / 0.5255 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.4367, allocations: 161.7 kB / 0.5257 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4367, allocations: 384 / 0.5257 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.4367, allocations: 5.469 kB / 0.5257 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.4368, allocations: 36.44 kB / 0.5257 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4369, allocations: 0 / 0.5257 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.4369, allocations: 0 / 0.5257 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.4369, allocations: 0 / 0.5257 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.64e-05/0.4369, allocations: 5.984 kB / 0.5257 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.4371, allocations: 150.8 kB / 0.5259 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.906e-05/0.4372, allocations: 16.14 kB / 0.5259 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.4372, allocations: 14.62 kB / 0.5259 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.4372, allocations: 0 / 0.5259 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.4372, allocations: 57.48 kB / 0.526 GB, free: 15.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.4373, allocations: 3.938 kB / 0.526 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002002/0.4375, allocations: 66.69 kB / 0.526 GB, free: 15.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.4375, allocations: 82.62 kB / 0.5261 GB, free: 15.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.305e-05/0.4376, allocations: 89.86 kB / 0.5262 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.4376, allocations: 27.27 kB / 0.5262 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.4376, allocations: 80.14 kB / 0.5263 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.4377, allocations: 0 / 0.5263 GB, free: 15.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.4377, allocations: 16.34 kB / 0.5263 GB, free: 15.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.4378, allocations: 310.8 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.4378, allocations: 5.781 kB / 0.5266 GB, free: 14.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.4378, allocations: 5.031 kB / 0.5266 GB, free: 14.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.4379, allocations: 62.73 kB / 0.5267 GB, free: 14.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4379, allocations: 0 / 0.5267 GB, free: 14.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.514e-05/0.438, allocations: 70.23 kB / 0.5267 GB, free: 14.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.438, allocations: 32.02 kB / 0.5268 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.438, allocations: 0 / 0.5268 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.4381, allocations: 0 / 0.5268 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.4381, allocations: 1.156 kB / 0.5268 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4381, allocations: 4.094 kB / 0.5268 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.4381, allocations: 5.281 kB / 0.5268 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.4381, allocations: 0 / 0.5268 GB, free: 14.69 MB / 398.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.0001022/0.4382, allocations: 138.2 kB / 0.5269 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.4382, allocations: 5.281 kB / 0.5269 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.588e-06/0.4382, allocations: 3.125 kB / 0.5269 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.4382, allocations: 0 / 0.5269 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4383, allocations: 5.469 kB / 0.5269 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.4383, allocations: 0 / 0.5269 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.93e-05/0.4384, allocations: 155.3 kB / 0.5271 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4384, allocations: 3.938 kB / 0.5271 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-06/0.4384, allocations: 0 / 0.5271 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.4384, allocations: 5.312 kB / 0.5271 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.4384, allocations: 0 / 0.5271 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4384, allocations: 1.438 kB / 0.5271 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4384, allocations: 0 / 0.5271 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.728e-05/0.4385, allocations: 92.77 kB / 0.5272 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.4385, allocations: 86 kB / 0.5273 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.4386, allocations: 5.406 kB / 0.5273 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.327e-06/0.4386, allocations: 0 / 0.5273 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.4386, allocations: 1.438 kB / 0.5273 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.4386, allocations: 0 / 0.5273 GB, free: 14.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.144e-05/0.4387, allocations: 76.53 kB / 0.5273 GB, free: 14.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4387, allocations: 0 / 0.5273 GB, free: 14.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001172/0.4398, allocations: 276.3 kB / 0.5276 GB, free: 14.01 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.001458/0.4413, allocations: 424.3 kB / 0.528 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.4414, allocations: 65.72 kB / 0.5281 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4414, allocations: 0 / 0.5281 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.536e-05/0.4415, allocations: 53.84 kB / 0.5281 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.4417, allocations: 6.406 kB / 0.5281 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.4419, allocations: 76.59 kB / 0.5282 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4422, allocations: 0.6738 MB / 0.5289 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.925e-06/0.4422, allocations: 1.156 kB / 0.5289 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.21e-05/0.4422, allocations: 12.44 kB / 0.5289 GB, free: 12.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4422, allocations: 0 / 0.5289 GB, free: 12.82 MB / 398.1 MB Notification: Performance of Templates: time 0.01826/0.4605, allocations: 7.309 MB / 0.536 GB, free: 9.023 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)