Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 104.9 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3503/0.3503, allocations: 44.84 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3345, allocations: 62.01 MB / 0.5151 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.002151/0.3367, allocations: 0.5481 MB / 0.5157 GB, free: 37.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.3397, allocations: 1.562 MB / 0.5172 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.558e-05/0.3397, allocations: 0 / 0.5172 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.3398, allocations: 0 / 0.5172 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.823e-06/0.3398, allocations: 3.938 kB / 0.5172 GB, free: 36.34 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001107/0.3409, allocations: 200 kB / 0.5174 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.46e-05/0.341, allocations: 7.984 kB / 0.5174 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.3411, allocations: 3 kB / 0.5174 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.196e-05/0.3411, allocations: 0 / 0.5174 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.139e-05/0.3411, allocations: 3.938 kB / 0.5174 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.3411, allocations: 0 / 0.5174 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.3424, allocations: 0.7031 MB / 0.5181 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.477e-06/0.3424, allocations: 0 / 0.5181 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.3424, allocations: 0 / 0.5181 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000931/0.3434, allocations: 0.6429 MB / 0.5187 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3434, allocations: 0 / 0.5187 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3434, allocations: 4 kB / 0.5187 GB, free: 36.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3434, allocations: 0 / 0.5187 GB, free: 36.05 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.0004412/0.3439, allocations: 364.2 kB / 0.5191 GB, free: 35.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.3439, allocations: 14.59 kB / 0.5191 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.344, allocations: 0.9375 kB / 0.5191 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.765e-05/0.3441, allocations: 160.4 kB / 0.5192 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.3441, allocations: 384 / 0.5193 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.3441, allocations: 6.156 kB / 0.5193 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.3443, allocations: 34.02 kB / 0.5193 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3443, allocations: 10.75 kB / 0.5193 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3443, allocations: 0 / 0.5193 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3443, allocations: 0 / 0.5193 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.51e-05/0.3444, allocations: 4 kB / 0.5193 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.3445, allocations: 148.3 kB / 0.5194 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.3446, allocations: 18.56 kB / 0.5195 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.3446, allocations: 11.95 kB / 0.5195 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.3446, allocations: 4 kB / 0.5195 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.3447, allocations: 60.2 kB / 0.5195 GB, free: 35.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.785e-06/0.3447, allocations: 0 / 0.5195 GB, free: 35.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002126/0.3449, allocations: 71.52 kB / 0.5196 GB, free: 35.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.345, allocations: 77.11 kB / 0.5197 GB, free: 34.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.798e-05/0.345, allocations: 89.86 kB / 0.5198 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.345, allocations: 28.61 kB / 0.5198 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.276e-05/0.345, allocations: 80.14 kB / 0.5199 GB, free: 34.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.3451, allocations: 4.125 kB / 0.5199 GB, free: 34.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.3451, allocations: 16.59 kB / 0.5199 GB, free: 34.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.454e-05/0.3452, allocations: 310.8 kB / 0.5202 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.3452, allocations: 3.094 kB / 0.5202 GB, free: 34.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.089e-05/0.3452, allocations: 2.75 kB / 0.5202 GB, free: 34.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.738e-05/0.3453, allocations: 62.86 kB / 0.5202 GB, free: 34.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3453, allocations: 0 / 0.5202 GB, free: 34.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.309e-05/0.3454, allocations: 68.36 kB / 0.5203 GB, free: 34.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.3455, allocations: 35.55 kB / 0.5203 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3455, allocations: 0 / 0.5203 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3455, allocations: 4 kB / 0.5203 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.3455, allocations: 2.875 kB / 0.5204 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3455, allocations: 0 / 0.5204 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.3456, allocations: 0 / 0.5204 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3456, allocations: 0 / 0.5204 GB, free: 34.2 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 6.769e-05/0.3457, allocations: 137.4 kB / 0.5205 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.3457, allocations: 7.969 kB / 0.5205 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.124e-05/0.3457, allocations: 5.969 kB / 0.5205 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3457, allocations: 0 / 0.5205 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3457, allocations: 0 / 0.5205 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3458, allocations: 0 / 0.5205 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.19e-05/0.3458, allocations: 155.3 kB / 0.5206 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3459, allocations: 0 / 0.5206 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.3459, allocations: 0 / 0.5206 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3459, allocations: 3.938 kB / 0.5206 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3459, allocations: 3.938 kB / 0.5207 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.3459, allocations: 0 / 0.5207 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3459, allocations: 6.562 kB / 0.5207 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.3462, allocations: 0.6378 MB / 0.5213 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.3463, allocations: 77.11 kB / 0.5214 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.3463, allocations: 2.906 kB / 0.5214 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.701e-05/0.3463, allocations: 3.281 kB / 0.5214 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.3464, allocations: 4.031 kB / 0.5214 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.3464, allocations: 0 / 0.5214 GB, free: 33.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.452e-05/0.3464, allocations: 78.38 kB / 0.5214 GB, free: 32.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3464, allocations: 0 / 0.5214 GB, free: 32.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000852/0.3473, allocations: 119.5 kB / 0.5216 GB, free: 32.98 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.001065/0.3484, allocations: 168.6 kB / 0.5217 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.3485, allocations: 68.22 kB / 0.5218 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3485, allocations: 0 / 0.5218 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.728e-05/0.3485, allocations: 58.16 kB / 0.5218 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.3488, allocations: 2.875 kB / 0.5218 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.349, allocations: 189.6 kB / 0.522 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.3492, allocations: 0.6731 MB / 0.5227 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.295e-06/0.3492, allocations: 0 / 0.5227 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.729e-06/0.3492, allocations: 10.28 kB / 0.5227 GB, free: 31.82 MB / 378.7 MB Notification: Performance of SimCode: time 4.2e-07/0.3492, allocations: 0 / 0.5227 GB, free: 31.82 MB / 378.7 MB Notification: Performance of Templates: time 0.01015/0.3594, allocations: 3.919 MB / 0.5265 GB, free: 31.62 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1)