Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002428/0.002428, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.199/0.199, allocations: 32.8 MB / 293.5 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 440.1 MB, free: 8.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.722e-05, allocations: 2.844 kB / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001452/0.001479, allocations: 0.4987 MB / 440.6 MB, free: 7.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.004821, allocations: 2.075 MB / 442.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.004845, allocations: 0 / 442.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.004859, allocations: 0 / 442.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.633e-06/0.004866, allocations: 3.938 kB / 442.6 MB, free: 5.59 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.007132, allocations: 0.7651 MB / 443.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.427e-05/0.007176, allocations: 0 / 443.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.007219, allocations: 4 kB / 443.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.94e-05/0.007248, allocations: 4 kB / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.68e-05/0.007265, allocations: 0 / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.745e-06/0.007273, allocations: 0 / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.009555, allocations: 1.548 MB / 445 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.009564, allocations: 3.938 kB / 445 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.009585, allocations: 0 / 445 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.01179, allocations: 1.864 MB / 446.8 MB, free: 1.402 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01179, allocations: 0 / 446.8 MB, free: 1.402 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.01179, allocations: 4 kB / 446.8 MB, free: 1.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.0118, allocations: 4 kB / 446.8 MB, free: 1.395 MB / 366.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.0006518/0.01245, allocations: 355.4 kB / 447.2 MB, free: 1.012 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.0125, allocations: 12.03 kB / 447.2 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.01253, allocations: 0.9375 kB / 447.2 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.993e-05/0.01263, allocations: 105.8 kB / 447.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.01265, allocations: 384 / 447.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.01266, allocations: 384 / 447.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.01277, allocations: 59.91 kB / 447.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.01279, allocations: 3.938 kB / 447.4 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.0128, allocations: 0 / 447.4 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.01281, allocations: 3.938 kB / 447.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.245e-05/0.01284, allocations: 33.7 kB / 447.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.01296, allocations: 97.31 kB / 447.5 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.569e-05/0.01303, allocations: 48.31 kB / 447.5 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.01306, allocations: 30.56 kB / 447.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.01307, allocations: 0 / 447.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.01313, allocations: 60.33 kB / 447.6 MB, free: 464 kB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.01313, allocations: 0 / 447.6 MB, free: 464 kB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002346/0.01336, allocations: 126.7 kB / 447.8 MB, free: 312 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.01342, allocations: 77.11 kB / 447.8 MB, free: 216 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.597e-05/0.01348, allocations: 93.98 kB / 447.9 MB, free: 112 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.0135, allocations: 25.7 kB / 447.9 MB, free: 80 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1871/0.2006, allocations: 80.83 kB / 448 MB, free: 21.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.2007, allocations: 1.547 kB / 448 MB, free: 21.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.2007, allocations: 11.94 kB / 448 MB, free: 21.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.202e-05/0.2008, allocations: 314.7 kB / 448.3 MB, free: 20.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.351e-05/0.2008, allocations: 27.62 kB / 448.4 MB, free: 20.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.652e-05/0.2008, allocations: 27.53 kB / 448.4 MB, free: 20.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.899e-05/0.2009, allocations: 62.47 kB / 448.5 MB, free: 20.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2009, allocations: 4.438 kB / 448.5 MB, free: 20.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.064e-05/0.201, allocations: 94.58 kB / 448.6 MB, free: 20.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.201, allocations: 32.19 kB / 448.6 MB, free: 20.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.201, allocations: 1.156 kB / 448.6 MB, free: 20.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.201, allocations: 4.406 kB / 448.6 MB, free: 20.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.452e-06/0.201, allocations: 2.938 kB / 448.6 MB, free: 20.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.201, allocations: 1.156 kB / 448.6 MB, free: 20.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.201, allocations: 0.6094 kB / 448.6 MB, free: 20.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.201, allocations: 1.062 kB / 448.6 MB, free: 20.57 MB / 366.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 5.982e-05/0.2011, allocations: 139 kB / 448.7 MB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.2011, allocations: 3.5 kB / 448.7 MB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.132e-05/0.2011, allocations: 4.797 kB / 448.7 MB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.2011, allocations: 3.938 kB / 448.7 MB, free: 20.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2011, allocations: 1.828 kB / 448.7 MB, free: 20.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2011, allocations: 7.109 kB / 448.8 MB, free: 20.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.759e-05/0.2012, allocations: 102.1 kB / 448.9 MB, free: 20.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2012, allocations: 3.844 kB / 448.9 MB, free: 20.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.2012, allocations: 0.6562 kB / 448.9 MB, free: 20.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2012, allocations: 2.172 kB / 448.9 MB, free: 20.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.2012, allocations: 0 / 448.9 MB, free: 20.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2012, allocations: 2 kB / 448.9 MB, free: 20.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2012, allocations: 3.938 kB / 448.9 MB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.536e-05/0.2013, allocations: 116.4 kB / 449 MB, free: 20.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.2013, allocations: 1.812 kB / 449 MB, free: 20.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.2013, allocations: 5.031 kB / 449 MB, free: 20.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-06/0.2013, allocations: 1.734 kB / 449 MB, free: 20.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.2013, allocations: 5.094 kB / 449 MB, free: 20.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.2013, allocations: 0.7969 kB / 449 MB, free: 20.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.083e-05/0.2013, allocations: 76.5 kB / 449.1 MB, free: 20.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 4e-08/0.2013, allocations: 0 / 449.1 MB, free: 20.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001003/0.2023, allocations: 295.1 kB / 449.4 MB, free: 20.09 MB / 366.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.001497/0.2038, allocations: 0.5109 MB / 449.9 MB, free: 19.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.204, allocations: 110.2 kB / 450 MB, free: 19.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.204, allocations: 3.125 kB / 450 MB, free: 19.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.003e-05/0.204, allocations: 84.7 kB / 450.1 MB, free: 19.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.2041, allocations: 7.047 kB / 450.1 MB, free: 19.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.2043, allocations: 109.7 kB / 450.2 MB, free: 19.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.774e-05/0.2044, allocations: 54.86 kB / 450.2 MB, free: 19.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.049e-06/0.2044, allocations: 0 / 450.2 MB, free: 19.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.2044, allocations: 10.28 kB / 450.2 MB, free: 19.56 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2044, allocations: 3.625 kB / 450.2 MB, free: 19.56 MB / 366.1 MB Notification: Performance of Templates: time 0.01894/0.2233, allocations: 7.394 MB / 457.6 MB, free: 18.82 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.794845927506685] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.23138995096087456 0.242957322 0.22869454900000002 Calling exit ...