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.001857/0.001857, allocations: 117.2 kB / 18.45 MB, free: 4.594 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.002648/0.002648, allocations: 210.6 kB / 21.41 MB, free: 1.645 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.605/1.605, allocations: 227.4 MB / 251.6 MB, free: 56 kB / 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.2446/0.2446, allocations: 46.17 MB / 351.1 MB, free: 14.26 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.002259/0.002259, allocations: 85.77 kB / 490.2 MB, free: 28.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1202, allocations: 62.44 MB / 0.5397 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001583/0.1218, allocations: 0.4892 MB / 0.5401 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00758/0.1294, allocations: 4.888 MB / 0.5449 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.1295, allocations: 0 / 0.5449 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.1295, allocations: 0 / 0.5449 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.1296, allocations: 0 / 0.5449 GB, free: 14.83 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.007142/0.1367, allocations: 2.942 MB / 0.5478 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.822e-05/0.1368, allocations: 0 / 0.5478 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.1368, allocations: 0 / 0.5478 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.768e-05/0.1369, allocations: 4 kB / 0.5478 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.519e-05/0.1369, allocations: 0 / 0.5478 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1369, allocations: 4 kB / 0.5478 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02956/0.1665, allocations: 18.82 MB / 0.5662 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.1665, allocations: 0 / 0.5662 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1666, allocations: 0 / 0.5662 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03902/0.2056, allocations: 27.48 MB / 0.593 GB, free: 13.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.2056, allocations: 3.938 kB / 0.593 GB, free: 13.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2057, allocations: 0 / 0.593 GB, free: 13.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.2057, allocations: 4 kB / 0.593 GB, free: 13.52 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.008195/0.2139, allocations: 0.6735 MB / 0.5937 GB, free: 12.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.2139, allocations: 16.03 kB / 0.5937 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.214, allocations: 0.9375 kB / 0.5937 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.2141, allocations: 163.8 kB / 0.5938 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2141, allocations: 0 / 0.5938 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2141, allocations: 7.875 kB / 0.5939 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.971e-05/0.2142, allocations: 33.7 kB / 0.5939 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.2143, allocations: 0 / 0.5939 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.2143, allocations: 0 / 0.5939 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2143, allocations: 0 / 0.5939 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.2143, allocations: 4 kB / 0.5939 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.2145, allocations: 157.6 kB / 0.594 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.766e-05/0.2145, allocations: 14.58 kB / 0.5941 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.2145, allocations: 12.89 kB / 0.5941 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-06/0.2145, allocations: 0 / 0.5941 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.2146, allocations: 56.27 kB / 0.5941 GB, free: 12.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.2146, allocations: 0 / 0.5941 GB, free: 12.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001785/0.2148, allocations: 75.38 kB / 0.5942 GB, free: 12.12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.2148, allocations: 77.11 kB / 0.5943 GB, free: 12.03 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.905e-05/0.2149, allocations: 89.86 kB / 0.5943 GB, free: 11.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.2149, allocations: 25.7 kB / 0.5944 GB, free: 11.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.215, allocations: 84.14 kB / 0.5945 GB, free: 11.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.215, allocations: 0 / 0.5945 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.215, allocations: 9.719 kB / 0.5945 GB, free: 11.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2152, allocations: 318.8 kB / 0.5948 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.2152, allocations: 16.05 kB / 0.5948 GB, free: 11.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.2152, allocations: 0 / 0.5948 GB, free: 11.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.717e-05/0.2153, allocations: 64.27 kB / 0.5948 GB, free: 11.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2153, allocations: 0 / 0.5948 GB, free: 11.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.215e-05/0.2153, allocations: 59.41 kB / 0.5949 GB, free: 11.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.2154, allocations: 33.69 kB / 0.5949 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2154, allocations: 0 / 0.5949 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2154, allocations: 0 / 0.5949 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.2154, allocations: 0 / 0.5949 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2154, allocations: 4.094 kB / 0.5949 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.2155, allocations: 4 kB / 0.5949 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.2155, allocations: 0 / 0.5949 GB, free: 11.27 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.847e-05/0.2156, allocations: 143.4 kB / 0.5951 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.2156, allocations: 4 kB / 0.5951 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.507e-06/0.2156, allocations: 7.062 kB / 0.5951 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.2156, allocations: 0 / 0.5951 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2156, allocations: 3.938 kB / 0.5951 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2157, allocations: 3.984 kB / 0.5951 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.2158, allocations: 149.6 kB / 0.5952 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.2158, allocations: 0 / 0.5952 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.2158, allocations: 4 kB / 0.5952 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.2158, allocations: 0 / 0.5952 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2158, allocations: 0 / 0.5952 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2158, allocations: 0 / 0.5952 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2158, allocations: 0 / 0.5952 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.216, allocations: 94.77 kB / 0.5953 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.216, allocations: 81.14 kB / 0.5954 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.2161, allocations: 0 / 0.5954 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.2161, allocations: 7.984 kB / 0.5954 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.2161, allocations: 7.984 kB / 0.5954 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.2161, allocations: 0 / 0.5954 GB, free: 10.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.481e-05/0.2162, allocations: 79.22 kB / 0.5955 GB, free: 10.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2162, allocations: 0 / 0.5955 GB, free: 10.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01306/0.2292, allocations: 3.791 MB / 0.5992 GB, free: 6.797 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.01985/0.2491, allocations: 0.9717 MB / 0.6002 GB, free: 5.828 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.2493, allocations: 63.34 kB / 0.6002 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2493, allocations: 0 / 0.6002 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.2494, allocations: 55.41 kB / 0.6003 GB, free: 5.688 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.2495, allocations: 3.938 kB / 0.6003 GB, free: 5.684 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.2497, allocations: 89 kB / 0.6004 GB, free: 5.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.25, allocations: 0.673 MB / 0.601 GB, free: 4.871 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.01e-06/0.2501, allocations: 0 / 0.601 GB, free: 4.871 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.2501, allocations: 11.44 kB / 0.601 GB, free: 4.859 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2501, allocations: 0 / 0.601 GB, free: 4.859 MB / 462.1 MB Notification: Performance of Templates: time 0.3984/0.6484, allocations: 112.6 MB / 0.711 GB, free: 3.527 MB / 0.4981 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: 13.897001823410392]