Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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.001915/0.001915, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00222/0.00222, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.8/1.8, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2419/0.2419, 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.91 kB / 0.4914 GB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1381, allocations: 66 MB / 0.5558 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001677/0.1398, allocations: 498.6 kB / 0.5563 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.1422, allocations: 1.567 MB / 0.5578 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.1423, allocations: 3.938 kB / 0.5578 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.1423, allocations: 0 / 0.5578 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.661e-06/0.1423, allocations: 0 / 0.5578 GB, free: 3.277 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009289/0.1432, allocations: 223.4 kB / 0.5581 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.26e-05/0.1433, allocations: 4 kB / 0.5581 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.1433, allocations: 4 kB / 0.5581 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.348e-05/0.1433, allocations: 0 / 0.5581 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.738e-05/0.1433, allocations: 3.984 kB / 0.5581 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-06/0.1433, allocations: 0 / 0.5581 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.1444, allocations: 0.7531 MB / 0.5588 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-06/0.1444, allocations: 3.938 kB / 0.5588 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.1444, allocations: 0 / 0.5588 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007541/0.1452, allocations: 0.6395 MB / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1452, allocations: 0 / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1452, allocations: 0 / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1452, allocations: 7.938 kB / 0.5594 GB, free: 1.641 MB / 414.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.0005157/0.1457, allocations: 373 kB / 0.5598 GB, free: 1.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1458, allocations: 8.031 kB / 0.5598 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.1458, allocations: 0.9375 kB / 0.5598 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1459, allocations: 172.3 kB / 0.56 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1459, allocations: 384 / 0.56 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.1459, allocations: 384 / 0.56 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.934e-05/0.146, allocations: 30.02 kB / 0.56 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.146, allocations: 8 kB / 0.56 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.146, allocations: 0 / 0.56 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.146, allocations: 0 / 0.56 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.136e-05/0.1461, allocations: 4 kB / 0.56 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.1462, allocations: 145.7 kB / 0.5601 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.111e-05/0.1463, allocations: 22.55 kB / 0.5602 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.1463, allocations: 4.859 kB / 0.5602 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.1463, allocations: 0 / 0.5602 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/0.1464, allocations: 72.27 kB / 0.5602 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1464, allocations: 0 / 0.5602 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001947/0.1466, allocations: 59.39 kB / 0.5603 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.1466, allocations: 81.11 kB / 0.5604 GB, free: 488 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1467, allocations: 93.81 kB / 0.5605 GB, free: 384 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1468, allocations: 25.7 kB / 0.5605 GB, free: 352 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.1468, allocations: 80.14 kB / 0.5606 GB, free: 268 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.1468, allocations: 3.938 kB / 0.5606 GB, free: 264 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.1468, allocations: 21.84 kB / 0.5606 GB, free: 236 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.147, allocations: 314.8 kB / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.1471, allocations: 0 / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-06/0.1471, allocations: 0 / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.839e-05/0.1471, allocations: 60.27 kB / 0.5609 GB, free: 15.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1471, allocations: 0 / 0.5609 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.385e-05/0.1472, allocations: 67.34 kB / 0.561 GB, free: 15.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.1472, allocations: 41.72 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1472, allocations: 3.984 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1472, allocations: 0 / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.1473, allocations: 4 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1473, allocations: 3.938 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.1473, allocations: 0 / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1473, allocations: 7.938 kB / 0.5611 GB, free: 15.7 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.000104/0.1474, allocations: 135.5 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.1474, allocations: 3.938 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.396e-06/0.1474, allocations: 7.125 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1474, allocations: 0 / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1474, allocations: 0 / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1474, allocations: 3.984 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.1476, allocations: 145.7 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1476, allocations: 0 / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.1476, allocations: 0 / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1476, allocations: 3.938 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.1476, allocations: 0 / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.1476, allocations: 0 / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1476, allocations: 0 / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.1477, allocations: 94.83 kB / 0.5614 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.1478, allocations: 81.11 kB / 0.5615 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.1478, allocations: 7.938 kB / 0.5615 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-06/0.1478, allocations: 0 / 0.5615 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.1479, allocations: 7.922 kB / 0.5615 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1479, allocations: 3.984 kB / 0.5615 GB, free: 15.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.251e-05/0.1479, allocations: 75.28 kB / 0.5616 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1479, allocations: 4.031 kB / 0.5616 GB, free: 15.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004829/0.1484, allocations: 115.9 kB / 0.5617 GB, free: 14.91 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.0007357/0.1491, allocations: 190 kB / 0.5619 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.697e-05/0.1492, allocations: 55.41 kB / 0.562 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1492, allocations: 0 / 0.562 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.1493, allocations: 55.41 kB / 0.562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.1494, allocations: 2.031 kB / 0.562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.1497, allocations: 88.98 kB / 0.5621 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.15, allocations: 0.6767 MB / 0.5628 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.981e-06/0.15, allocations: 128 / 0.5628 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.15, allocations: 11.44 kB / 0.5628 GB, free: 13.77 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.15, allocations: 0 / 0.5628 GB, free: 13.77 MB / 430.1 MB Notification: Performance of Templates: time 0.008319/0.1583, allocations: 3.92 MB / 0.5666 GB, free: 9.84 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.434954594820738] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.16603006795048714 0.18217282699999995 0.033958199 Calling exit ...