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.001864/0.001864, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001776/0.001776, allocations: 187.1 kB / 18.7 MB, free: 4.371 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.286/1.286, 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.1833/0.1833, allocations: 44.19 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 55.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3187, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001394/0.3201, allocations: 0.4976 MB / 0.5194 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.3225, allocations: 2.096 MB / 0.5214 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.621e-05/0.3225, allocations: 0 / 0.5214 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.206e-05/0.3225, allocations: 0 / 0.5214 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.049e-06/0.3225, allocations: 0 / 0.5214 GB, free: 1.848 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.00159/0.3241, allocations: 0.7161 MB / 0.5221 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.96e-05/0.3242, allocations: 9.406 kB / 0.5221 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.3242, allocations: 2.406 kB / 0.5221 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.382e-05/0.3243, allocations: 1.156 kB / 0.5221 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.64e-05/0.3243, allocations: 7.938 kB / 0.5221 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.932e-06/0.3243, allocations: 0 / 0.5221 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.3265, allocations: 1.496 MB / 0.5236 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.3265, allocations: 0 / 0.5236 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.3265, allocations: 1.031 kB / 0.5236 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.328, allocations: 1.55 MB / 0.5251 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3281, allocations: 0 / 0.5251 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3281, allocations: 4 kB / 0.5251 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.3281, allocations: 1.594 kB / 0.5251 GB, free: 0.5742 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.0004174/0.3285, allocations: 419 kB / 0.5255 GB, free: 144 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3285, allocations: 9.656 kB / 0.5255 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.3286, allocations: 0.9375 kB / 0.5255 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.782e-05/0.3287, allocations: 165.5 kB / 0.5257 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.3287, allocations: 4.312 kB / 0.5257 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.3287, allocations: 5.219 kB / 0.5257 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.941e-05/0.3288, allocations: 32.83 kB / 0.5257 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3288, allocations: 3.984 kB / 0.5257 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.3288, allocations: 0 / 0.5257 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3288, allocations: 0 / 0.5257 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.3288, allocations: 1.875 kB / 0.5257 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.329, allocations: 151 kB / 0.5259 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.66e-05/0.329, allocations: 20.14 kB / 0.5259 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.329, allocations: 10.52 kB / 0.5259 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.329, allocations: 4 kB / 0.5259 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.3291, allocations: 57.7 kB / 0.526 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3291, allocations: 0 / 0.526 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001481/0.3292, allocations: 67.45 kB / 0.526 GB, free: 15.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3293, allocations: 77.11 kB / 0.5261 GB, free: 15.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.424e-05/0.3293, allocations: 95.08 kB / 0.5262 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.3294, allocations: 25.7 kB / 0.5262 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.3294, allocations: 80.27 kB / 0.5263 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.3294, allocations: 5.438 kB / 0.5263 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.3294, allocations: 11.69 kB / 0.5263 GB, free: 15.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3296, allocations: 318.8 kB / 0.5266 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.3296, allocations: 5.469 kB / 0.5266 GB, free: 14.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-06/0.3296, allocations: 1.156 kB / 0.5266 GB, free: 14.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.3296, allocations: 59.95 kB / 0.5267 GB, free: 14.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3296, allocations: 0 / 0.5267 GB, free: 14.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.961e-05/0.3297, allocations: 66.25 kB / 0.5267 GB, free: 14.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.3297, allocations: 34.5 kB / 0.5268 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3298, allocations: 5.125 kB / 0.5268 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.3298, allocations: 0 / 0.5268 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.3298, allocations: 3.938 kB / 0.5268 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3298, allocations: 1.406 kB / 0.5268 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.3298, allocations: 3.906 kB / 0.5268 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.3298, allocations: 5.281 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 7.599e-05/0.3299, allocations: 133 kB / 0.5269 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-06/0.3299, allocations: 9.156 kB / 0.5269 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.053e-05/0.3299, allocations: 4 kB / 0.5269 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3299, allocations: 0 / 0.5269 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3299, allocations: 1.188 kB / 0.5269 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.33, allocations: 3.984 kB / 0.5269 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.87e-05/0.3301, allocations: 142.9 kB / 0.5271 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3301, allocations: 3.938 kB / 0.5271 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3301, allocations: 1.312 kB / 0.5271 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.3301, allocations: 3.938 kB / 0.5271 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.3301, allocations: 1.438 kB / 0.5271 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3301, allocations: 4 kB / 0.5271 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3301, allocations: 0 / 0.5271 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.402e-05/0.3302, allocations: 90.02 kB / 0.5272 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.3302, allocations: 88.78 kB / 0.5272 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.3302, allocations: 1.469 kB / 0.5272 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.3303, allocations: 1.438 kB / 0.5272 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.3303, allocations: 3.984 kB / 0.5273 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3303, allocations: 9.406 kB / 0.5273 GB, free: 14.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.523e-05/0.3303, allocations: 75.28 kB / 0.5273 GB, free: 14.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3303, allocations: 0 / 0.5273 GB, free: 14.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000815/0.3311, allocations: 272.3 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.001223/0.3324, allocations: 423.6 kB / 0.528 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.216e-05/0.3325, allocations: 56.66 kB / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3325, allocations: 0 / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.15e-05/0.3325, allocations: 61.17 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.0001124/0.3326, allocations: 17.19 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.0001447/0.3328, allocations: 76.52 kB / 0.5282 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.333, allocations: 0.6738 MB / 0.5289 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.19e-06/0.333, allocations: 1.594 kB / 0.5289 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.191e-05/0.333, allocations: 8.969 kB / 0.5289 GB, free: 12.8 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.333, allocations: 0 / 0.5289 GB, free: 12.8 MB / 398.1 MB Notification: Performance of Templates: time 0.01152/0.3446, allocations: 7.307 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)