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.001837/0.001837, allocations: 75.75 kB / 21.24 MB, free: 0.543 MB / 14.72 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.001549/0.001549, allocations: 161.8 kB / 24.5 MB, free: 3.719 MB / 14.72 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.489/1.489, allocations: 177.1 MB / 204.7 MB, free: 9.012 MB / 190.1 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.2077/0.2077, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 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 0.002371/0.002371, allocations: 87.86 kB / 443.1 MB, free: 6.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3043, allocations: 66.06 MB / 0.4973 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001455/0.3057, allocations: 0.491 MB / 0.4977 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005562/0.3113, allocations: 4.591 MB / 0.5022 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.3113, allocations: 0 / 0.5022 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.3113, allocations: 3.156 kB / 0.5022 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.3113, allocations: 0 / 0.5022 GB, free: 26.66 MB / 446.1 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.006681/0.318, allocations: 3.251 MB / 0.5054 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.36e-05/0.318, allocations: 3.156 kB / 0.5054 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.3181, allocations: 3.984 kB / 0.5054 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.617e-05/0.3181, allocations: 4 kB / 0.5054 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.912e-05/0.3181, allocations: 0 / 0.5054 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.243e-06/0.3181, allocations: 3.031 kB / 0.5054 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03593/0.3541, allocations: 19.79 MB / 0.5247 GB, free: 22.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.3541, allocations: 1.375 kB / 0.5247 GB, free: 22.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.3541, allocations: 3.984 kB / 0.5247 GB, free: 22.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03638/0.3905, allocations: 26.13 MB / 0.5503 GB, free: 15.31 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3905, allocations: 0 / 0.5503 GB, free: 15.31 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3905, allocations: 0 / 0.5503 GB, free: 15.31 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3905, allocations: 0 / 0.5503 GB, free: 15.31 MB / 462.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.00854/0.399, allocations: 0.5982 MB / 0.5508 GB, free: 14.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.3991, allocations: 15.97 kB / 0.5509 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.3991, allocations: 0.9375 kB / 0.5509 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.812e-05/0.3992, allocations: 109.9 kB / 0.551 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3992, allocations: 0 / 0.551 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.3993, allocations: 11.92 kB / 0.551 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.3994, allocations: 55.41 kB / 0.551 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3994, allocations: 3.938 kB / 0.551 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.3994, allocations: 0 / 0.551 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3994, allocations: 4 kB / 0.551 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.441e-05/0.3994, allocations: 25.7 kB / 0.5511 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.3996, allocations: 109.2 kB / 0.5512 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.511e-05/0.3996, allocations: 44.31 kB / 0.5512 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.3997, allocations: 34.5 kB / 0.5512 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.3997, allocations: 4.062 kB / 0.5512 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.147e-05/0.3997, allocations: 56.27 kB / 0.5513 GB, free: 14.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3997, allocations: 0 / 0.5513 GB, free: 14.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.000225/0.4, allocations: 118.8 kB / 0.5514 GB, free: 13.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.4, allocations: 77.11 kB / 0.5515 GB, free: 13.87 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.638e-05/0.4001, allocations: 89.86 kB / 0.5516 GB, free: 13.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.4001, allocations: 33.83 kB / 0.5516 GB, free: 13.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.4001, allocations: 80.14 kB / 0.5517 GB, free: 13.65 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.4002, allocations: 0 / 0.5517 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.4002, allocations: 13.72 kB / 0.5517 GB, free: 13.63 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4003, allocations: 318.8 kB / 0.552 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-05/0.4004, allocations: 29.64 kB / 0.552 GB, free: 13.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.4004, allocations: 25.7 kB / 0.5521 GB, free: 13.24 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.985e-05/0.4004, allocations: 64.2 kB / 0.5521 GB, free: 13.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4004, allocations: 0 / 0.5521 GB, free: 13.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001068/0.4006, allocations: 93.19 kB / 0.5522 GB, free: 13.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.4006, allocations: 37.7 kB / 0.5522 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4006, allocations: 0 / 0.5522 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4006, allocations: 0 / 0.5522 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.4006, allocations: 0 / 0.5522 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.4006, allocations: 0 / 0.5522 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.635e-05/0.4006, allocations: 0 / 0.5522 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.4006, allocations: 0 / 0.5522 GB, free: 13.01 MB / 462.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 0.0001057/0.4007, allocations: 143.4 kB / 0.5524 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.4008, allocations: 3.984 kB / 0.5524 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.302e-05/0.4008, allocations: 3 kB / 0.5524 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4008, allocations: 8 kB / 0.5524 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.4008, allocations: 0 / 0.5524 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.4008, allocations: 0 / 0.5524 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.438e-05/0.4009, allocations: 109.1 kB / 0.5525 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4009, allocations: 0 / 0.5525 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.4009, allocations: 0 / 0.5525 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4009, allocations: 4 kB / 0.5525 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.4009, allocations: 0 / 0.5525 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4009, allocations: 0 / 0.5525 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4009, allocations: 0 / 0.5525 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.401, allocations: 120.5 kB / 0.5526 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.401, allocations: 7.969 kB / 0.5526 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.401, allocations: 7.984 kB / 0.5526 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.265e-05/0.401, allocations: 4 kB / 0.5526 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.4011, allocations: 0 / 0.5526 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.4011, allocations: 0 / 0.5526 GB, free: 12.53 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.935e-05/0.4011, allocations: 79.22 kB / 0.5527 GB, free: 12.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4011, allocations: 0 / 0.5527 GB, free: 12.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01074/0.4118, allocations: 3.787 MB / 0.5564 GB, free: 8.66 MB / 462.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.02013/0.432, allocations: 0.9863 MB / 0.5574 GB, free: 7.676 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.4321, allocations: 114.8 kB / 0.5575 GB, free: 7.539 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.4321, allocations: 0 / 0.5575 GB, free: 7.539 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.538e-05/0.4322, allocations: 85.03 kB / 0.5576 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.4323, allocations: 7.938 kB / 0.5576 GB, free: 7.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.4326, allocations: 109 kB / 0.5577 GB, free: 7.293 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.475e-05/0.4326, allocations: 63.28 kB / 0.5577 GB, free: 7.211 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.269e-06/0.4326, allocations: 0 / 0.5577 GB, free: 7.211 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.4327, allocations: 12.62 kB / 0.5577 GB, free: 7.199 MB / 462.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4327, allocations: 4 kB / 0.5577 GB, free: 7.195 MB / 462.1 MB Notification: Performance of Templates: time 0.1689/0.6015, allocations: 112.6 MB / 0.6677 GB, free: 6.387 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 13.1394441180164] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.6104613789357245 0.62543987 0.23172236499999996 Calling exit ...