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.002149/0.002149, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00222/0.00222, allocations: 207.4 kB / 23.72 MB, free: 4.391 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.548/1.548, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.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.23/0.23, allocations: 46.95 MB / 360.8 MB, free: 3.934 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.003707/0.003707, allocations: 79.88 kB / 0.4966 GB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3936, allocations: 66.08 MB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001804/0.3954, allocations: 499.7 kB / 0.5616 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008397/0.4038, allocations: 4.568 MB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.4038, allocations: 7.875 kB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.4038, allocations: 4 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.4038, allocations: 0 / 0.5661 GB, free: 14.88 MB / 414.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.008226/0.4121, allocations: 3.268 MB / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.103e-05/0.4121, allocations: 0 / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.4122, allocations: 0 / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.388e-05/0.4122, allocations: 0 / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.911e-05/0.4122, allocations: 4 kB / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.172e-06/0.4122, allocations: 0 / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03111/0.4433, allocations: 19.8 MB / 0.5886 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.4433, allocations: 3.938 kB / 0.5886 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.4433, allocations: 4 kB / 0.5886 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04506/0.4884, allocations: 26.13 MB / 0.6142 GB, free: 13.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4884, allocations: 0 / 0.6142 GB, free: 13.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4884, allocations: 0 / 0.6142 GB, free: 13.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.4884, allocations: 0 / 0.6142 GB, free: 13.61 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.007577/0.496, allocations: 0.5943 MB / 0.6147 GB, free: 12.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.496, allocations: 12.03 kB / 0.6148 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.4961, allocations: 0.9375 kB / 0.6148 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.898e-05/0.4962, allocations: 113.8 kB / 0.6149 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.4962, allocations: 0 / 0.6149 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.4962, allocations: 0 / 0.6149 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.4963, allocations: 59.41 kB / 0.6149 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4963, allocations: 0 / 0.6149 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.4963, allocations: 0 / 0.6149 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4963, allocations: 4 kB / 0.6149 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.999e-05/0.4964, allocations: 29.7 kB / 0.615 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.4965, allocations: 105.2 kB / 0.6151 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.067e-05/0.4966, allocations: 48.25 kB / 0.6151 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.4966, allocations: 34.5 kB / 0.6151 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.4966, allocations: 4.062 kB / 0.6151 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.4966, allocations: 56.27 kB / 0.6152 GB, free: 12.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.4966, allocations: 4 kB / 0.6152 GB, free: 12.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002172/0.4969, allocations: 118.8 kB / 0.6153 GB, free: 12.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.4969, allocations: 77.11 kB / 0.6154 GB, free: 12.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.845e-05/0.497, allocations: 89.86 kB / 0.6155 GB, free: 12.08 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.497, allocations: 33.64 kB / 0.6155 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.497, allocations: 80.14 kB / 0.6156 GB, free: 11.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.4971, allocations: 0 / 0.6156 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.4971, allocations: 13.72 kB / 0.6156 GB, free: 11.94 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4972, allocations: 322.8 kB / 0.6159 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.4972, allocations: 25.7 kB / 0.6159 GB, free: 11.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.4973, allocations: 29.83 kB / 0.6159 GB, free: 11.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.738e-05/0.4973, allocations: 64.2 kB / 0.616 GB, free: 11.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4973, allocations: 0 / 0.616 GB, free: 11.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.379e-05/0.4974, allocations: 93.09 kB / 0.6161 GB, free: 11.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.4975, allocations: 33.7 kB / 0.6161 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4975, allocations: 3.984 kB / 0.6161 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4975, allocations: 0 / 0.6161 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.875e-06/0.4975, allocations: 3.938 kB / 0.6161 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.4975, allocations: 0 / 0.6161 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.518e-05/0.4975, allocations: 4.094 kB / 0.6161 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.4975, allocations: 0 / 0.6161 GB, free: 11.31 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.0001003/0.4976, allocations: 139.5 kB / 0.6163 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.4976, allocations: 0 / 0.6163 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.155e-05/0.4976, allocations: 6.984 kB / 0.6163 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4976, allocations: 4 kB / 0.6163 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4976, allocations: 0 / 0.6163 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.4976, allocations: 0 / 0.6163 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.637e-05/0.4977, allocations: 105.2 kB / 0.6164 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4977, allocations: 0 / 0.6164 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.4977, allocations: 0 / 0.6164 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4977, allocations: 8 kB / 0.6164 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.4977, allocations: 0 / 0.6164 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.4977, allocations: 0 / 0.6164 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4977, allocations: 3.938 kB / 0.6164 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.4979, allocations: 120.5 kB / 0.6165 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-06/0.4979, allocations: 3.938 kB / 0.6165 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.4979, allocations: 11.92 kB / 0.6165 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-06/0.4979, allocations: 0 / 0.6165 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.4979, allocations: 4 kB / 0.6165 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.4979, allocations: 0 / 0.6165 GB, free: 10.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.113e-05/0.4979, allocations: 79.31 kB / 0.6166 GB, free: 10.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4979, allocations: 0 / 0.6166 GB, free: 10.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01074/0.5087, allocations: 3.787 MB / 0.6203 GB, free: 6.965 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.0209/0.5296, allocations: 0.9764 MB / 0.6213 GB, free: 5.992 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.5298, allocations: 110.8 kB / 0.6214 GB, free: 5.859 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5298, allocations: 4 kB / 0.6214 GB, free: 5.855 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.193e-05/0.5298, allocations: 85.03 kB / 0.6214 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.53, allocations: 12.06 kB / 0.6215 GB, free: 5.742 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.5302, allocations: 106.8 kB / 0.6216 GB, free: 5.605 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.62e-05/0.5303, allocations: 55.36 kB / 0.6216 GB, free: 5.531 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.025e-06/0.5303, allocations: 3.984 kB / 0.6216 GB, free: 5.527 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.5303, allocations: 7.438 kB / 0.6216 GB, free: 5.52 MB / 462.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5303, allocations: 4 kB / 0.6216 GB, free: 5.516 MB / 462.1 MB Notification: Performance of Templates: time 0.1793/0.7097, allocations: 112.6 MB / 0.7316 GB, free: 4.699 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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 14.742053573951125] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.7211566269397736 0.968124265 0.47689147800000004 Calling exit ...