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.001541/0.001541, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001778/0.001778, allocations: 215.3 kB / 23 MB, free: 5.609 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.49/1.49, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.2445/0.2445, allocations: 46.91 MB / 359.4 MB, free: 4.859 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.002298/0.002298, allocations: 79.86 kB / 0.4946 GB, free: 8.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3541, allocations: 65.99 MB / 0.5591 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.00158/0.3557, allocations: 0.4922 MB / 0.5595 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007833/0.3635, allocations: 4.952 MB / 0.5644 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.632e-05/0.3635, allocations: 0 / 0.5644 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.3635, allocations: 0 / 0.5644 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.56e-06/0.3635, allocations: 0 / 0.5644 GB, free: 15.62 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.006968/0.3705, allocations: 2.943 MB / 0.5673 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.418e-05/0.3706, allocations: 3.984 kB / 0.5673 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.3706, allocations: 4 kB / 0.5673 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.8e-05/0.3706, allocations: 0 / 0.5673 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.042e-05/0.3707, allocations: 3.984 kB / 0.5673 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.101e-06/0.3707, allocations: 0 / 0.5673 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03201/0.4027, allocations: 19.57 MB / 0.5864 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.4027, allocations: 0 / 0.5864 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.4027, allocations: 3.984 kB / 0.5864 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04143/0.4441, allocations: 27.48 MB / 0.6132 GB, free: 13.55 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.4442, allocations: 7.938 kB / 0.6132 GB, free: 13.55 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4442, allocations: 0 / 0.6132 GB, free: 13.55 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.4442, allocations: 0 / 0.6132 GB, free: 13.55 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.01041/0.4546, allocations: 0.6697 MB / 0.6139 GB, free: 12.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.4546, allocations: 8.031 kB / 0.6139 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.4547, allocations: 0.9375 kB / 0.6139 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.4548, allocations: 167.8 kB / 0.614 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.4548, allocations: 0 / 0.614 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.4548, allocations: 7.938 kB / 0.6141 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.4549, allocations: 29.69 kB / 0.6141 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4549, allocations: 0 / 0.6141 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.455, allocations: 0 / 0.6141 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.455, allocations: 4 kB / 0.6141 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.455, allocations: 7.938 kB / 0.6141 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.4552, allocations: 149.6 kB / 0.6142 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.6e-05/0.4552, allocations: 22.67 kB / 0.6143 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.4552, allocations: 8.797 kB / 0.6143 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.4552, allocations: 0 / 0.6143 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.4553, allocations: 60.25 kB / 0.6143 GB, free: 12.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.4553, allocations: 0 / 0.6143 GB, free: 12.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001989/0.4555, allocations: 67.34 kB / 0.6144 GB, free: 12.17 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.4555, allocations: 81.23 kB / 0.6145 GB, free: 12.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.137e-05/0.4556, allocations: 89.86 kB / 0.6145 GB, free: 11.97 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.4556, allocations: 29.7 kB / 0.6146 GB, free: 11.94 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.4556, allocations: 80.14 kB / 0.6147 GB, free: 11.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.4557, allocations: 0 / 0.6147 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.4557, allocations: 13.7 kB / 0.6147 GB, free: 11.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4558, allocations: 322.8 kB / 0.615 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.4559, allocations: 0 / 0.615 GB, free: 11.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-06/0.4559, allocations: 4 kB / 0.615 GB, free: 11.51 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.265e-05/0.4559, allocations: 60.27 kB / 0.615 GB, free: 11.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4559, allocations: 0 / 0.615 GB, free: 11.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.675e-05/0.456, allocations: 67.33 kB / 0.6151 GB, free: 11.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.456, allocations: 29.7 kB / 0.6151 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.4561, allocations: 0 / 0.6151 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4561, allocations: 0 / 0.6151 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.4561, allocations: 0 / 0.6151 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.4561, allocations: 7.984 kB / 0.6151 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.4561, allocations: 4.094 kB / 0.6151 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4561, allocations: 4 kB / 0.6151 GB, free: 11.3 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 9.871e-05/0.4562, allocations: 135.5 kB / 0.6153 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.4562, allocations: 7.984 kB / 0.6153 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.06e-05/0.4562, allocations: 3.125 kB / 0.6153 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.4562, allocations: 0 / 0.6153 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4562, allocations: 3.938 kB / 0.6153 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.4562, allocations: 0 / 0.6153 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.4564, allocations: 149.6 kB / 0.6154 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4564, allocations: 4 kB / 0.6154 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.4564, allocations: 0 / 0.6154 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.4564, allocations: 0 / 0.6154 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.4564, allocations: 3.984 kB / 0.6154 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4564, allocations: 0 / 0.6154 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4564, allocations: 0 / 0.6154 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.4565, allocations: 98.7 kB / 0.6155 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.4565, allocations: 85.03 kB / 0.6156 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.4566, allocations: 4.031 kB / 0.6156 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.4566, allocations: 4 kB / 0.6156 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.4566, allocations: 4 kB / 0.6156 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.4566, allocations: 7.938 kB / 0.6156 GB, free: 10.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.4566, allocations: 75.28 kB / 0.6157 GB, free: 10.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4566, allocations: 0 / 0.6157 GB, free: 10.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01176/0.4684, allocations: 3.784 MB / 0.6194 GB, free: 6.84 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.02388/0.4923, allocations: 0.9734 MB / 0.6203 GB, free: 5.863 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.4925, allocations: 63.28 kB / 0.6204 GB, free: 5.789 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4925, allocations: 0 / 0.6204 GB, free: 5.789 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.076e-05/0.4925, allocations: 59.39 kB / 0.6205 GB, free: 5.719 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.4927, allocations: 8.641 kB / 0.6205 GB, free: 5.711 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.493, allocations: 81.06 kB / 0.6206 GB, free: 5.605 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.4934, allocations: 0.669 MB / 0.6212 GB, free: 4.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.203e-06/0.4934, allocations: 4.125 kB / 0.6212 GB, free: 4.906 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.4934, allocations: 11.44 kB / 0.6212 GB, free: 4.895 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4934, allocations: 0 / 0.6212 GB, free: 4.895 MB / 462.1 MB Notification: Performance of Templates: time 0.1773/0.6707, allocations: 112.6 MB / 0.7312 GB, free: 4.09 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.301591102965176]