Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 107.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 241.8 MB, free: 13.87 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2278/0.2278, allocations: 44.17 MB / 336.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 69.06 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1284, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004325/0.1328, allocations: 2.057 MB / 470.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.1344, allocations: 0.9588 MB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1346, allocations: 4 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.1349, allocations: 39.77 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.1352, allocations: 63.67 kB / 471.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.1356, allocations: 122.5 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.1358, allocations: 187.3 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.136, allocations: 37.67 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.1362, allocations: 71.64 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1363, allocations: 71.61 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.1364, allocations: 8 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.1365, allocations: 39.98 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-05/0.1366, allocations: 39.83 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1367, allocations: 67.53 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.137, allocations: 179.7 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.137, allocations: 4 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.137, allocations: 0 / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.137, allocations: 0 / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001061/0.1381, allocations: 0.5565 MB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1381, allocations: 8.031 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.1382, allocations: 24.66 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.1386, allocations: 244.9 kB / 473.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1386, allocations: 4.375 kB / 473.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.1386, allocations: 16.12 kB / 473.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.1391, allocations: 148.1 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1391, allocations: 0 / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.1391, allocations: 4 kB / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1391, allocations: 4 kB / 473.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.1396, allocations: 115.8 kB / 473.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/0.1403, allocations: 0.5437 MB / 474.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/0.1409, allocations: 174.5 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.1412, allocations: 76.72 kB / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.1412, allocations: 0 / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004497/0.1417, allocations: 143.2 kB / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.1417, allocations: 0 / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008925/0.1426, allocations: 249.3 kB / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.1427, allocations: 63.27 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.1429, allocations: 227.1 kB / 475 MB, free: 8.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1429, allocations: 33.7 kB / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.143, allocations: 124.3 kB / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.1431, allocations: 35.59 kB / 475.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-05/0.1432, allocations: 37.7 kB / 475.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1433, allocations: 330.8 kB / 475.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.1436, allocations: 71.94 kB / 475.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.1439, allocations: 109.3 kB / 475.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.1444, allocations: 189.8 kB / 475.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1444, allocations: 3.938 kB / 475.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006569/0.1451, allocations: 258.1 kB / 476.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/0.1451, allocations: 33.7 kB / 476.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1451, allocations: 0 / 476.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1452, allocations: 3.938 kB / 476.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.1454, allocations: 47.89 kB / 476.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.1454, allocations: 0 / 476.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.1456, allocations: 31.95 kB / 476.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.1456, allocations: 11.98 kB / 476.3 MB, free: 6.711 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001276/0.1458, allocations: 130.3 kB / 476.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.1458, allocations: 15.81 kB / 476.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/0.1459, allocations: 21.39 kB / 476.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.1459, allocations: 7.938 kB / 476.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1459, allocations: 0 / 476.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1459, allocations: 0 / 476.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.1461, allocations: 237.4 kB / 476.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1461, allocations: 4 kB / 476.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.1463, allocations: 23.97 kB / 476.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1463, allocations: 0 / 476.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.1463, allocations: 4 kB / 476.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.1464, allocations: 11.94 kB / 476.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1464, allocations: 3.938 kB / 476.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008533/0.1472, allocations: 300.7 kB / 477.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.1473, allocations: 88.95 kB / 477.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.1473, allocations: 4 kB / 477.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.1475, allocations: 23.91 kB / 477.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.1476, allocations: 24.03 kB / 477.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1476, allocations: 4 kB / 477.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1477, allocations: 164.7 kB / 477.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1478, allocations: 0 / 477.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.148, allocations: 32 kB / 477.4 MB, free: 5.543 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009409/0.149, allocations: 416 kB / 477.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006472/0.1496, allocations: 223 kB / 478 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1496, allocations: 0 / 478 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.1499, allocations: 75.94 kB / 478.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.1503, allocations: 50.41 kB / 478.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.151, allocations: 361.6 kB / 478.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1513, allocations: 0.7244 MB / 479.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.07e-05/0.1514, allocations: 25.53 kB / 479.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.1515, allocations: 19.44 kB / 479.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1515, allocations: 0 / 479.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of Templates: time 0.005817/0.1573, allocations: 2.595 MB / 481.9 MB, free: 1.195 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)