Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001505/0.001505, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001359/0.001359, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.619/1.619, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2436/0.2436, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 67.89 kB / 0.4914 GB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1377, allocations: 65.99 MB / 0.5558 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001826/0.1396, allocations: 0.495 MB / 0.5563 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003604/0.1432, allocations: 2.156 MB / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.1432, allocations: 0 / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.1432, allocations: 0 / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.973e-06/0.1432, allocations: 3.938 kB / 0.5584 GB, free: 2.684 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.002114/0.1453, allocations: 0.7159 MB / 0.5591 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.389e-05/0.1454, allocations: 0 / 0.5591 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.1454, allocations: 11.98 kB / 0.5591 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.845e-05/0.1454, allocations: 0 / 0.5591 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.898e-05/0.1455, allocations: 0 / 0.5591 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.421e-06/0.1455, allocations: 0 / 0.5591 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.1477, allocations: 1.58 MB / 0.5607 GB, free: 388 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.1477, allocations: 0 / 0.5607 GB, free: 388 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.1477, allocations: 0 / 0.5607 GB, free: 388 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.1495, allocations: 1.563 MB / 0.5622 GB, free: 14.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1495, allocations: 0 / 0.5622 GB, free: 14.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1495, allocations: 0 / 0.5622 GB, free: 14.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1495, allocations: 0 / 0.5622 GB, free: 14.81 MB / 430.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.0007941/0.1503, allocations: 416.5 kB / 0.5626 GB, free: 14.35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.1504, allocations: 8.031 kB / 0.5626 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.1504, allocations: 8.922 kB / 0.5626 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.1506, allocations: 164.4 kB / 0.5628 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1506, allocations: 384 / 0.5628 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1506, allocations: 8.125 kB / 0.5628 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.1507, allocations: 29.7 kB / 0.5628 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1507, allocations: 3.984 kB / 0.5628 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1508, allocations: 3.938 kB / 0.5628 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1508, allocations: 0 / 0.5628 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.041e-05/0.1508, allocations: 3.844 kB / 0.5628 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.151, allocations: 153.7 kB / 0.563 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.864e-05/0.151, allocations: 14.58 kB / 0.563 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.151, allocations: 16.8 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.151, allocations: 0 / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.598e-05/0.1511, allocations: 60.36 kB / 0.5631 GB, free: 13.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1511, allocations: 0 / 0.5631 GB, free: 13.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002113/0.1513, allocations: 75.28 kB / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.1514, allocations: 77.11 kB / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/0.1515, allocations: 89.86 kB / 0.5633 GB, free: 13.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1515, allocations: 29.83 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.1515, allocations: 80.14 kB / 0.5634 GB, free: 13.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.1515, allocations: 0 / 0.5634 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.1516, allocations: 13.72 kB / 0.5634 GB, free: 13.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1517, allocations: 314.8 kB / 0.5637 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.1517, allocations: 0 / 0.5637 GB, free: 13.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/0.1518, allocations: 7.922 kB / 0.5637 GB, free: 13.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.116e-05/0.1518, allocations: 60.33 kB / 0.5638 GB, free: 12.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1518, allocations: 7.938 kB / 0.5638 GB, free: 12.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.007e-05/0.1519, allocations: 63.34 kB / 0.5638 GB, free: 12.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.152, allocations: 29.7 kB / 0.5639 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.152, allocations: 7.984 kB / 0.5639 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.152, allocations: 0 / 0.5639 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.152, allocations: 0 / 0.5639 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.152, allocations: 0 / 0.5639 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.152, allocations: 0 / 0.5639 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.152, allocations: 0 / 0.5639 GB, free: 12.83 MB / 430.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.0001127/0.1521, allocations: 143.6 kB / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.1521, allocations: 3.938 kB / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.586e-06/0.1521, allocations: 3.125 kB / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.1521, allocations: 0 / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1521, allocations: 0 / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1521, allocations: 0 / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.1523, allocations: 149.7 kB / 0.5642 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1523, allocations: 7.875 kB / 0.5642 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-06/0.1523, allocations: 4 kB / 0.5642 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1523, allocations: 0 / 0.5642 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.1523, allocations: 4 kB / 0.5642 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.1523, allocations: 0 / 0.5642 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1523, allocations: 7.938 kB / 0.5642 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.1524, allocations: 86.83 kB / 0.5643 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.1525, allocations: 81.05 kB / 0.5643 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.1525, allocations: 4 kB / 0.5643 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-06/0.1525, allocations: 0 / 0.5643 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.1525, allocations: 4.031 kB / 0.5644 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1525, allocations: 3.984 kB / 0.5644 GB, free: 12.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.1525, allocations: 79.28 kB / 0.5644 GB, free: 12.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1525, allocations: 0 / 0.5644 GB, free: 12.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009121/0.1535, allocations: 279.5 kB / 0.5647 GB, free: 11.88 MB / 430.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.00149/0.1549, allocations: 410 kB / 0.5651 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.1551, allocations: 63.34 kB / 0.5651 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1551, allocations: 0 / 0.5651 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.453e-05/0.1551, allocations: 59.45 kB / 0.5652 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.1553, allocations: 13.77 kB / 0.5652 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.1555, allocations: 81 kB / 0.5653 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.1559, allocations: 0.669 MB / 0.566 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.43e-06/0.1559, allocations: 0 / 0.566 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.1559, allocations: 11.44 kB / 0.566 GB, free: 10.52 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1559, allocations: 0 / 0.566 GB, free: 10.52 MB / 430.1 MB Notification: Performance of Templates: time 0.01466/0.1705, allocations: 7.309 MB / 0.5731 GB, free: 3.195 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.492664121091366] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.17837098985910416 0.193204344 0.040587501000000005 Calling exit ...