Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.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.001056/0.001056, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001656/0.002712, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001214/0.001214, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.002737, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.034/1.034, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09483/1.129, allocations: 53.86 MB / 243.7 MB, free: 14.89 MB / 250.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.2608/0.2608, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02245/0.2832, allocations: 13.23 MB / 292.6 MB, free: 6.453 MB / 282.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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 293.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.447e-05, allocations: 4.281 kB / 293.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001561/0.001586, allocations: 0.5417 MB / 294.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006419/0.008005, allocations: 4.699 MB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.372e-05/0.008018, allocations: 0 / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.609e-06/0.008023, allocations: 0 / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.052e-06/0.008024, allocations: 0 / 299.1 MB, free: 15.93 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.004964/0.01299, allocations: 3.058 MB / 302.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.402e-05/0.01304, allocations: 3.984 kB / 302.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.01307, allocations: 0 / 302.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.343e-05/0.01311, allocations: 4 kB / 302.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.723e-05/0.01313, allocations: 0 / 302.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.767e-06/0.01313, allocations: 0 / 302.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02465/0.03778, allocations: 20.47 MB / 322.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.03779, allocations: 0 / 322.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.706e-05/0.03781, allocations: 0 / 322.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03158/0.06939, allocations: 23.9 MB / 346.5 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.695e-05/0.06941, allocations: 0 / 346.5 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.06941, allocations: 7.938 kB / 346.5 MB, free: 436 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.06942, allocations: 0 / 346.5 MB, free: 436 kB / 330.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.006542/0.07597, allocations: 0.7767 MB / 347.3 MB, free: 15.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.076, allocations: 8.922 kB / 347.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.07603, allocations: 4.938 kB / 347.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.939e-05/0.07609, allocations: 113.7 kB / 347.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.0761, allocations: 4.125 kB / 347.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-06/0.07611, allocations: 0 / 347.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.66e-05/0.07617, allocations: 63.39 kB / 347.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.07618, allocations: 0 / 347.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-06/0.07618, allocations: 4 kB / 347.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.07619, allocations: 0 / 347.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.07621, allocations: 29.7 kB / 347.5 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.841e-05/0.07626, allocations: 53.05 kB / 347.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.104e-05/0.07631, allocations: 56.23 kB / 347.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.07632, allocations: 34.62 kB / 347.7 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-06/0.07632, allocations: 0 / 347.7 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.07635, allocations: 60.2 kB / 347.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.07636, allocations: 0 / 347.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001151/0.07647, allocations: 122.7 kB / 347.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.0765, allocations: 81.23 kB / 347.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.703e-05/0.07653, allocations: 89.86 kB / 348 MB, free: 14.76 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.07654, allocations: 25.7 kB / 348 MB, free: 14.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.664e-05/0.07656, allocations: 84.14 kB / 348.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.07657, allocations: 4.469 kB / 348.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.07659, allocations: 9.719 kB / 348.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.561e-05/0.07666, allocations: 314.8 kB / 348.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.07667, allocations: 25.7 kB / 348.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.07668, allocations: 33.69 kB / 348.5 MB, free: 14.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.07672, allocations: 68.31 kB / 348.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.07673, allocations: 0 / 348.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.404e-05/0.07677, allocations: 89.03 kB / 348.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.07681, allocations: 37.64 kB / 348.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.07681, allocations: 0 / 348.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.07682, allocations: 0 / 348.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-06/0.07682, allocations: 0 / 348.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.07683, allocations: 0 / 348.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.07684, allocations: 0 / 348.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.07685, allocations: 4 kB / 348.7 MB, free: 14 MB / 346.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 5.728e-05/0.07691, allocations: 139.6 kB / 348.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-06/0.07691, allocations: 0 / 348.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.151e-05/0.07692, allocations: 18.86 kB / 348.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.07692, allocations: 0 / 348.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.07692, allocations: 0 / 348.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.07693, allocations: 0 / 348.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.61e-05/0.07697, allocations: 57.91 kB / 348.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.07697, allocations: 0 / 348.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.373e-06/0.07697, allocations: 4 kB / 348.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-06/0.07698, allocations: 0 / 348.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.07698, allocations: 0 / 348.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.07698, allocations: 7.938 kB / 348.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.07698, allocations: 0 / 348.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.07698, allocations: 0 / 348.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.029e-05/0.07705, allocations: 116.5 kB / 349 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.07705, allocations: 0 / 349 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-06/0.07706, allocations: 4 kB / 349 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-06/0.07707, allocations: 11.92 kB / 349 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.07707, allocations: 0 / 349 MB, free: 13.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.719e-06/0.07708, allocations: 4.859 kB / 349.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07708, allocations: 0 / 349.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.009077/0.08615, allocations: 3.791 MB / 352.8 MB, free: 9.781 MB / 346.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.01629/0.1024, allocations: 1.103 MB / 353.9 MB, free: 8.723 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.1026, allocations: 127.6 kB / 354.1 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1026, allocations: 3.938 kB / 354.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.1026, allocations: 85.97 kB / 354.2 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.047e-05/0.1027, allocations: 4 kB / 354.2 MB, free: 8.457 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.1029, allocations: 112.7 kB / 354.3 MB, free: 8.312 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.899e-05/0.1029, allocations: 55.48 kB / 354.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.991e-06/0.1029, allocations: 0 / 354.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.1029, allocations: 59.36 kB / 354.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1029, allocations: 0 / 354.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of Templates: time 0.2907/0.3936, allocations: 110.6 MB / 465 MB, free: 31.08 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 176.23030359856784]