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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00244/0.00244, allocations: 103.5 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002558/0.002558, allocations: 156.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3496/0.3496, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.694e-05, allocations: 4.703 kB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.00253/0.002567, allocations: 0.497 MB / 377.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004802/0.007368, allocations: 1.545 MB / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.868e-05/0.007397, allocations: 0 / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.007414, allocations: 0 / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.196e-06/0.007422, allocations: 0 / 379.2 MB, free: 0.875 MB / 346.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.001878/0.0093, allocations: 255.2 kB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.705e-05/0.009367, allocations: 3.984 kB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.009414, allocations: 4 kB / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.74e-05/0.009452, allocations: 0 / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.249e-05/0.009474, allocations: 0 / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.009482, allocations: 0 / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.01117, allocations: 0.683 MB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.01118, allocations: 3.938 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.0112, allocations: 0 / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.01285, allocations: 0.7525 MB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.01286, allocations: 7.984 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.01286, allocations: 0 / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.01287, allocations: 0 / 380.9 MB, free: 15.17 MB / 362.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.0007886/0.01365, allocations: 385.9 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.01371, allocations: 8.031 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.01377, allocations: 4.938 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.01388, allocations: 112.6 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.01389, allocations: 384 / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.0139, allocations: 384 / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.01403, allocations: 55.97 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.01404, allocations: 4.188 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.01406, allocations: 4.359 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.01407, allocations: 7.922 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.751e-05/0.01412, allocations: 33.64 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.01429, allocations: 108.6 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.01439, allocations: 56.8 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.689e-05/0.01443, allocations: 33.39 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.01444, allocations: 0 / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.509e-05/0.01452, allocations: 63.16 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.01452, allocations: 0 / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003198/0.01484, allocations: 126.7 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.01493, allocations: 81.05 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.01505, allocations: 142.2 kB / 382.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.01507, allocations: 25.7 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.01515, allocations: 130.9 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.01518, allocations: 3.984 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.01522, allocations: 15.38 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003177/0.01554, allocations: 496.1 kB / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.942e-05/0.01558, allocations: 29.7 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.01561, allocations: 25.7 kB / 382.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.918e-05/0.0157, allocations: 71.28 kB / 382.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.0157, allocations: 3.938 kB / 382.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001324/0.01583, allocations: 93.09 kB / 383 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.397e-05/0.01589, allocations: 33.7 kB / 383 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01589, allocations: 0 / 383 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.01591, allocations: 0 / 383 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.01591, allocations: 0 / 383 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.01592, allocations: 3.938 kB / 383 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.01595, allocations: 0 / 383 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.01596, allocations: 4 kB / 383 MB, free: 12.75 MB / 362.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 0.0001909/0.01615, allocations: 186.3 kB / 383.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.01617, allocations: 7.953 kB / 383.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.025e-05/0.01618, allocations: 6.938 kB / 383.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.01618, allocations: 0 / 383.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01618, allocations: 0 / 383.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.01619, allocations: 3.938 kB / 383.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.01633, allocations: 104.6 kB / 383.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01633, allocations: 4 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-06/0.01633, allocations: 3.984 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.01633, allocations: 0 / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.01634, allocations: 4 kB / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.01634, allocations: 3.938 kB / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01634, allocations: 0 / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.01655, allocations: 135.8 kB / 383.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.01655, allocations: 0 / 383.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.01657, allocations: 0 / 383.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.234e-05/0.01658, allocations: 0 / 383.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.0166, allocations: 4 kB / 383.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.0166, allocations: 4 kB / 383.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.342e-05/0.01669, allocations: 123.1 kB / 383.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01669, allocations: 0 / 383.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006512/0.01734, allocations: 127.8 kB / 383.7 MB, free: 11.96 MB / 362.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.000869/0.01821, allocations: 172.5 kB / 383.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.01838, allocations: 130.4 kB / 384 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01838, allocations: 0 / 384 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.582e-05/0.01846, allocations: 88.8 kB / 384.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.01858, allocations: 6.812 kB / 384.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.01882, allocations: 117.6 kB / 384.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.981e-05/0.01888, allocations: 55.34 kB / 384.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.41e-06/0.01889, allocations: 0 / 384.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.01891, allocations: 12.5 kB / 384.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01891, allocations: 0 / 384.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of Templates: time 0.009586/0.0285, allocations: 4.072 MB / 388.4 MB, free: 7.195 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.957436815020628]