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.001562/0.001562, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001776/0.001776, allocations: 160.5 kB / 24.55 MB, free: 16 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.026/1.026, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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.2607/0.2607, allocations: 34.87 MB / 296.3 MB, free: 0.5547 MB / 266.7 MB " [Timeout remaining time 180] 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 1.573e-06/1.573e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.731e-05, allocations: 2.312 kB / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.005701/0.005728, allocations: 0.4979 MB / 379.2 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.00765, allocations: 1.569 MB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.007678, allocations: 4 kB / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.0077, allocations: 0 / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.304e-06/0.007707, allocations: 0 / 380.8 MB, free: 16 kB / 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.0009979/0.008705, allocations: 251.2 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.634e-05/0.008751, allocations: 0 / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.008787, allocations: 7.984 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.008813, allocations: 0 / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.695e-05/0.00883, allocations: 0 / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.346e-06/0.008839, allocations: 0 / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008823/0.009721, allocations: 0.6946 MB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.927e-06/0.00973, allocations: 0 / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.00975, allocations: 0 / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007789/0.01053, allocations: 0.7447 MB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.01053, allocations: 3.938 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.01053, allocations: 0 / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.01054, allocations: 0 / 382.5 MB, free: 14.32 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.003503/0.01404, allocations: 393.8 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.01408, allocations: 8.031 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.01412, allocations: 4.938 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.51e-05/0.01418, allocations: 104.6 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.01419, allocations: 4.375 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.0142, allocations: 4.359 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.539e-05/0.01428, allocations: 55.97 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.01429, allocations: 4.172 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.0143, allocations: 384 / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.01431, allocations: 3.938 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.029e-05/0.01433, allocations: 29.7 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.906e-05/0.01443, allocations: 116.6 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.929e-05/0.01448, allocations: 56.78 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/0.01451, allocations: 37.39 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.668e-06/0.01451, allocations: 64 / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.01455, allocations: 63.09 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.01455, allocations: 0 / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001919/0.01474, allocations: 122.7 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.01478, allocations: 81.05 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.669e-05/0.01483, allocations: 142.2 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.01484, allocations: 29.7 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.01487, allocations: 126.9 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.01489, allocations: 352 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.01492, allocations: 15.5 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.01505, allocations: 0.4923 MB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.01507, allocations: 25.7 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.53e-05/0.01509, allocations: 29.69 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/0.01514, allocations: 63.09 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01514, allocations: 0 / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.862e-05/0.01523, allocations: 97 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.01527, allocations: 44.34 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01528, allocations: 0 / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.0153, allocations: 96 / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-06/0.01531, allocations: 4 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.01531, allocations: 3.938 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.01533, allocations: 0 / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.01534, allocations: 3.938 kB / 384.6 MB, free: 11.88 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 9.413e-05/0.01544, allocations: 182.3 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.01545, allocations: 0 / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.01547, allocations: 7 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01547, allocations: 0 / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.01547, allocations: 3.984 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01548, allocations: 3.938 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.238e-05/0.01554, allocations: 112.6 kB / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01554, allocations: 0 / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-06/0.01554, allocations: 4 kB / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01554, allocations: 0 / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.01555, allocations: 0 / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.01555, allocations: 0 / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.01555, allocations: 0 / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.01566, allocations: 135.7 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.01566, allocations: 7.938 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.01568, allocations: 0 / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-06/0.01568, allocations: 4.031 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.01569, allocations: 0 / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.0157, allocations: 3.984 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.582e-05/0.01574, allocations: 127.1 kB / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01574, allocations: 0 / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004941/0.01623, allocations: 119.9 kB / 385.3 MB, free: 11.1 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.0007275/0.01696, allocations: 183.1 kB / 385.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.01712, allocations: 122.5 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01713, allocations: 3.938 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.965e-05/0.01717, allocations: 92.78 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.0173, allocations: 0 / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.01753, allocations: 113.8 kB / 385.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.683e-05/0.01756, allocations: 55.36 kB / 385.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.025e-06/0.01757, allocations: 7.938 kB / 385.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.01759, allocations: 8.5 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01759, allocations: 0 / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Templates: time 0.006599/0.02419, allocations: 4.068 MB / 390 MB, free: 6.344 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: 3.288311436306685]