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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 119.5 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 206.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.12 MB / 345 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 75.88 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3237, allocations: 62.45 MB / 0.5317 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001457/0.3251, allocations: 485.1 kB / 0.5322 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.3274, allocations: 1.575 MB / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.3274, allocations: 0 / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.3274, allocations: 0 / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.691e-06/0.3274, allocations: 0 / 0.5337 GB, free: 11.95 MB / 398.1 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.0008502/0.3283, allocations: 224.9 kB / 0.5339 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.462e-05/0.3283, allocations: 5.359 kB / 0.5339 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.3284, allocations: 7.938 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.335e-05/0.3284, allocations: 1.375 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.328e-05/0.3284, allocations: 0 / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.3284, allocations: 1.375 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009027/0.3293, allocations: 0.7074 MB / 0.5346 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.233e-06/0.3293, allocations: 0 / 0.5346 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.3293, allocations: 1 kB / 0.5346 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007269/0.33, allocations: 0.6404 MB / 0.5353 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.33, allocations: 5.219 kB / 0.5353 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.33, allocations: 4 kB / 0.5353 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.3301, allocations: 0 / 0.5353 GB, free: 11.2 MB / 398.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.0005335/0.3306, allocations: 367.5 kB / 0.5356 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3306, allocations: 10.31 kB / 0.5356 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.3307, allocations: 4.922 kB / 0.5356 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.3308, allocations: 160.4 kB / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3308, allocations: 1.75 kB / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.3308, allocations: 1.75 kB / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.994e-05/0.3309, allocations: 43.34 kB / 0.5358 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3309, allocations: 0 / 0.5358 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.3309, allocations: 1.188 kB / 0.5358 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.3309, allocations: 0 / 0.5358 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.77e-05/0.3309, allocations: 5.156 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.3311, allocations: 147 kB / 0.536 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.694e-05/0.3311, allocations: 17.11 kB / 0.536 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.3311, allocations: 10.17 kB / 0.536 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.3311, allocations: 4 kB / 0.536 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/0.3312, allocations: 65.52 kB / 0.5361 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3312, allocations: 0 / 0.5361 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001762/0.3314, allocations: 66.98 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.3314, allocations: 77.11 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.985e-05/0.3315, allocations: 94.84 kB / 0.5363 GB, free: 9.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.3315, allocations: 25.7 kB / 0.5363 GB, free: 9.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.3315, allocations: 80.27 kB / 0.5364 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.3315, allocations: 5.281 kB / 0.5364 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.3316, allocations: 16.09 kB / 0.5364 GB, free: 9.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3317, allocations: 314.8 kB / 0.5367 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.996e-06/0.3317, allocations: 1.094 kB / 0.5367 GB, free: 9.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-06/0.3317, allocations: 5.141 kB / 0.5367 GB, free: 9.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.106e-05/0.3318, allocations: 63.36 kB / 0.5368 GB, free: 9.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3318, allocations: 0 / 0.5368 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.261e-05/0.3319, allocations: 71.09 kB / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.3319, allocations: 35.11 kB / 0.5369 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3319, allocations: 3.984 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3319, allocations: 0 / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.3319, allocations: 1.156 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3319, allocations: 0 / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.3319, allocations: 1.312 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.3319, allocations: 3.938 kB / 0.5369 GB, free: 9.32 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 9.57e-05/0.332, allocations: 138.4 kB / 0.537 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.332, allocations: 9.031 kB / 0.537 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.735e-06/0.3321, allocations: 3.125 kB / 0.537 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.3321, allocations: 0 / 0.537 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.3321, allocations: 1.375 kB / 0.537 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.3321, allocations: 0 / 0.537 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.3322, allocations: 147 kB / 0.5372 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3322, allocations: 1.125 kB / 0.5372 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.3322, allocations: 0 / 0.5372 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3322, allocations: 3.938 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.3322, allocations: 1.125 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.3322, allocations: 4 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3322, allocations: 0.9688 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.3323, allocations: 100.8 kB / 0.5373 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.3323, allocations: 78.39 kB / 0.5374 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.3323, allocations: 5.188 kB / 0.5374 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-06/0.3323, allocations: 0 / 0.5374 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.3324, allocations: 1.156 kB / 0.5374 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3324, allocations: 13.36 kB / 0.5374 GB, free: 8.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.681e-05/0.3324, allocations: 75.28 kB / 0.5375 GB, free: 8.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3324, allocations: 0 / 0.5375 GB, free: 8.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004574/0.3329, allocations: 115.9 kB / 0.5376 GB, free: 8.66 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.0007797/0.3336, allocations: 178 kB / 0.5377 GB, free: 8.531 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.3338, allocations: 59.72 kB / 0.5378 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3338, allocations: 1.094 kB / 0.5378 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.3338, allocations: 53.53 kB / 0.5378 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.3339, allocations: 4.531 kB / 0.5378 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001974/0.3341, allocations: 84.58 kB / 0.5379 GB, free: 8.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.3344, allocations: 0.6749 MB / 0.5386 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.121e-06/0.3344, allocations: 3.938 kB / 0.5386 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.3344, allocations: 8.469 kB / 0.5386 GB, free: 7.59 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3344, allocations: 0 / 0.5386 GB, free: 7.59 MB / 398.1 MB Notification: Performance of Templates: time 0.008188/0.3426, allocations: 3.923 MB / 0.5424 GB, free: 5.559 MB / 398.1 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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1)