Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001473/0.001473, allocations: 190.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3235/0.3235, allocations: 37.99 MB / 307.3 MB, free: 10.04 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 72.53 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1457, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003624/0.1494, allocations: 1.693 MB / 432.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1508, allocations: 0.7805 MB / 433.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.1508, allocations: 0 / 433.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.1512, allocations: 55.8 kB / 433.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.1513, allocations: 51.83 kB / 433.6 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.1516, allocations: 75.83 kB / 433.7 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.1517, allocations: 91.7 kB / 433.8 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.1518, allocations: 15.92 kB / 433.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.1519, allocations: 47.77 kB / 433.8 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.126e-05/0.1519, allocations: 23.86 kB / 433.9 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.152, allocations: 0 / 433.9 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-05/0.152, allocations: 31.98 kB / 433.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.476e-05/0.1521, allocations: 31.84 kB / 433.9 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.1522, allocations: 35.67 kB / 434 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.1524, allocations: 111.9 kB / 434.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1524, allocations: 4 kB / 434.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1524, allocations: 4 kB / 434.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1524, allocations: 0 / 434.1 MB, free: 4.008 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005687/0.153, allocations: 430.8 kB / 434.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.153, allocations: 12.03 kB / 434.5 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.1531, allocations: 16.73 kB / 434.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1533, allocations: 219.7 kB / 434.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1533, allocations: 4.375 kB / 434.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.1533, allocations: 4.125 kB / 434.7 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1535, allocations: 49.67 kB / 434.8 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.1535, allocations: 4 kB / 434.8 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.1535, allocations: 0 / 434.8 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1535, allocations: 0 / 434.8 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.451e-05/0.1536, allocations: 15.98 kB / 434.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.1538, allocations: 189.7 kB / 435 MB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1539, allocations: 50.56 kB / 435 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.154, allocations: 28.78 kB / 435.1 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.154, allocations: 4 kB / 435.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.1543, allocations: 63.39 kB / 435.1 MB, free: 2.773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.1543, allocations: 0 / 435.1 MB, free: 2.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000273/0.1545, allocations: 101.4 kB / 435.2 MB, free: 2.668 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.1546, allocations: 51.41 kB / 435.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.1548, allocations: 258.8 kB / 435.5 MB, free: 2.336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1549, allocations: 25.7 kB / 435.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.1549, allocations: 112.1 kB / 435.7 MB, free: 2.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.155, allocations: 15.89 kB / 435.7 MB, free: 2.176 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.155, allocations: 17.72 kB / 435.7 MB, free: 2.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1551, allocations: 330.8 kB / 436 MB, free: 1.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/0.1552, allocations: 15.98 kB / 436 MB, free: 1.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.928e-05/0.1553, allocations: 25.72 kB / 436.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.515e-05/0.1554, allocations: 49.89 kB / 436.1 MB, free: 1.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1554, allocations: 4 kB / 436.1 MB, free: 1.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001492/0.1555, allocations: 85.44 kB / 436.2 MB, free: 1.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1556, allocations: 4 kB / 436.2 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1556, allocations: 3.938 kB / 436.2 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1556, allocations: 3.984 kB / 436.2 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.1557, allocations: 19.97 kB / 436.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1557, allocations: 0 / 436.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.1557, allocations: 7.844 kB / 436.2 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.1557, allocations: 4 kB / 436.2 MB, free: 1.582 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001212/0.1559, allocations: 137.8 kB / 436.4 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.1559, allocations: 7.906 kB / 436.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.1559, allocations: 20.98 kB / 436.4 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.156, allocations: 0 / 436.4 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.156, allocations: 0 / 436.4 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.156, allocations: 4 kB / 436.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.1561, allocations: 201.6 kB / 436.6 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1562, allocations: 0 / 436.6 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.1562, allocations: 4 kB / 436.6 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1562, allocations: 3.984 kB / 436.6 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1562, allocations: 0 / 436.6 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1562, allocations: 3.984 kB / 436.6 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1562, allocations: 0 / 436.6 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1564, allocations: 120.8 kB / 436.7 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.1565, allocations: 88.91 kB / 436.8 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.1565, allocations: 4 kB / 436.8 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.471e-05/0.1566, allocations: 0 / 436.8 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1566, allocations: 4 kB / 436.8 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1566, allocations: 8.109 kB / 436.8 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.1568, allocations: 204 kB / 437 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1568, allocations: 0 / 437 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002048/0.157, allocations: 12 kB / 437.1 MB, free: 0.6758 MB / 366.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008957/0.1579, allocations: 414.6 kB / 437.5 MB, free: 292 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.1581, allocations: 39.92 kB / 437.5 MB, free: 252 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1581, allocations: 0 / 437.5 MB, free: 252 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.371e-05/0.1581, allocations: 19.98 kB / 437.5 MB, free: 232 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.1584, allocations: 31.52 kB / 437.5 MB, free: 204 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.159, allocations: 288.4 kB / 437.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.1593, allocations: 0.7121 MB / 438.5 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.263e-05/0.1594, allocations: 24.78 kB / 438.6 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.1594, allocations: 15.44 kB / 438.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1594, allocations: 0 / 438.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of Templates: time 0.004221/0.1636, allocations: 1.455 MB / 440 MB, free: 13.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)