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.0009658/0.000966, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.0009802/0.0009803, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.279/1.279, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2055/0.2055, allocations: 44.2 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 63.89 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3224, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001447/0.3239, allocations: 497.8 kB / 0.5194 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.3263, allocations: 2.099 MB / 0.5214 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.713e-05/0.3263, allocations: 0 / 0.5214 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.3263, allocations: 0 / 0.5214 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.679e-06/0.3264, allocations: 1.156 kB / 0.5214 GB, free: 1.84 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.001695/0.3281, allocations: 0.7146 MB / 0.5221 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.974e-05/0.3281, allocations: 10.06 kB / 0.5221 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.3282, allocations: 1.688 kB / 0.5221 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.287e-05/0.3282, allocations: 5.047 kB / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.52e-05/0.3282, allocations: 3.938 kB / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.789e-06/0.3282, allocations: 1.062 kB / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.3301, allocations: 1.499 MB / 0.5236 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-06/0.3302, allocations: 4 kB / 0.5236 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.617e-05/0.3302, allocations: 1.75 kB / 0.5236 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.3315, allocations: 1.545 MB / 0.5251 GB, free: 0.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3315, allocations: 0 / 0.5251 GB, free: 0.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3315, allocations: 0 / 0.5251 GB, free: 0.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.3315, allocations: 1.375 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.0004117/0.3319, allocations: 424.8 kB / 0.5255 GB, free: 144 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.332, allocations: 8.719 kB / 0.5255 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.332, allocations: 0.9375 kB / 0.5255 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.294e-05/0.3321, allocations: 165.5 kB / 0.5257 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.3321, allocations: 4.375 kB / 0.5257 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.3321, allocations: 5.188 kB / 0.5257 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.169e-05/0.3322, allocations: 39.84 kB / 0.5257 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.3322, allocations: 1.125 kB / 0.5257 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.3322, allocations: 0 / 0.5257 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-06/0.3322, allocations: 0 / 0.5257 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.588e-05/0.3323, allocations: 1.281 kB / 0.5257 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.3324, allocations: 144.3 kB / 0.5259 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/0.3324, allocations: 23.83 kB / 0.5259 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.3324, allocations: 10.05 kB / 0.5259 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.3325, allocations: 3.984 kB / 0.5259 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.3325, allocations: 65.19 kB / 0.526 GB, free: 15.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3325, allocations: 1.75 kB / 0.526 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001428/0.3327, allocations: 58.28 kB / 0.526 GB, free: 15.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3327, allocations: 77.11 kB / 0.5261 GB, free: 15.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.135e-05/0.3327, allocations: 93.98 kB / 0.5262 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.3328, allocations: 27.14 kB / 0.5262 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.266e-05/0.3328, allocations: 80.14 kB / 0.5263 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.3328, allocations: 5.344 kB / 0.5263 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.3328, allocations: 19.36 kB / 0.5263 GB, free: 15.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.851e-05/0.3329, allocations: 310.8 kB / 0.5266 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.3329, allocations: 5.281 kB / 0.5266 GB, free: 14.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.333, allocations: 1.656 kB / 0.5266 GB, free: 14.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.382e-05/0.333, allocations: 63.36 kB / 0.5267 GB, free: 14.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.333, allocations: 0 / 0.5267 GB, free: 14.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.797e-05/0.3331, allocations: 69.86 kB / 0.5267 GB, free: 14.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3331, allocations: 31.05 kB / 0.5268 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3331, allocations: 5.188 kB / 0.5268 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.3331, allocations: 0 / 0.5268 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.3331, allocations: 0 / 0.5268 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.3331, allocations: 5.25 kB / 0.5268 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/0.3332, allocations: 3.953 kB / 0.5268 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.3332, allocations: 5.469 kB / 0.5268 GB, free: 14.67 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 6.659e-05/0.3332, allocations: 132.9 kB / 0.5269 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.3333, allocations: 5.125 kB / 0.5269 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.468e-06/0.3333, allocations: 8.797 kB / 0.5269 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.3333, allocations: 0 / 0.5269 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.3333, allocations: 0 / 0.5269 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3333, allocations: 0 / 0.5269 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.734e-05/0.3334, allocations: 143.2 kB / 0.5271 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3334, allocations: 5.656 kB / 0.5271 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.3334, allocations: 4 kB / 0.5271 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.3334, allocations: 0 / 0.5271 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3334, allocations: 9.703 kB / 0.5271 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3334, allocations: 3.938 kB / 0.5271 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3334, allocations: 0 / 0.5271 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.671e-05/0.3335, allocations: 86.03 kB / 0.5272 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.3335, allocations: 85.03 kB / 0.5273 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.3335, allocations: 1.469 kB / 0.5273 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-06/0.3336, allocations: 4.031 kB / 0.5273 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.3336, allocations: 5.156 kB / 0.5273 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.3336, allocations: 1.406 kB / 0.5273 GB, free: 14.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.776e-05/0.3336, allocations: 75.28 kB / 0.5273 GB, free: 14.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3336, allocations: 0 / 0.5273 GB, free: 14.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000812/0.3344, allocations: 272.6 kB / 0.5276 GB, free: 13.99 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.001237/0.3357, allocations: 424.7 kB / 0.528 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.3358, allocations: 68.73 kB / 0.5281 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3358, allocations: 0 / 0.5281 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/0.3358, allocations: 54.56 kB / 0.5281 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.336, allocations: 6.062 kB / 0.5281 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001424/0.3361, allocations: 75.64 kB / 0.5282 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.3363, allocations: 0.6816 MB / 0.5289 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.779e-06/0.3363, allocations: 0 / 0.5289 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.032e-05/0.3364, allocations: 10 kB / 0.5289 GB, free: 12.79 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3364, allocations: 0 / 0.5289 GB, free: 12.79 MB / 398.1 MB Notification: Performance of Templates: time 0.01076/0.3471, allocations: 7.3 MB / 0.536 GB, free: 9.004 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)