Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004192/0.004198, allocations: 350.8 kB / 15.95 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.861/3.861, allocations: 341.5 MB / 358.2 MB, free: 28.74 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00352/0.00352, allocations: 217.6 kB / 397.9 MB, free: 6.168 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5822/0.5822, allocations: 76.09 MB / 0.5014 GB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004809, allocations: 8 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1432, allocations: 48.71 MB / 0.6068 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002209/0.1455, allocations: 1.457 MB / 0.6082 GB, free: 10.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009935/0.1465, allocations: 455.3 kB / 0.6086 GB, free: 9.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.1466, allocations: 0 / 0.6086 GB, free: 9.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.1469, allocations: 31.89 kB / 0.6086 GB, free: 9.594 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.1471, allocations: 35.84 kB / 0.6087 GB, free: 9.559 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.1474, allocations: 63.8 kB / 0.6087 GB, free: 9.496 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1475, allocations: 99.69 kB / 0.6088 GB, free: 9.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1477, allocations: 25.38 kB / 0.6089 GB, free: 9.371 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.259e-05/0.1478, allocations: 31.84 kB / 0.6089 GB, free: 9.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.1478, allocations: 35.78 kB / 0.6089 GB, free: 9.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.1479, allocations: 8 kB / 0.6089 GB, free: 9.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.148, allocations: 32 kB / 0.609 GB, free: 9.266 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.1481, allocations: 19.91 kB / 0.609 GB, free: 9.246 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.1481, allocations: 37.64 kB / 0.609 GB, free: 9.203 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1483, allocations: 100 kB / 0.6091 GB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1483, allocations: 0 / 0.6091 GB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1484, allocations: 0 / 0.6091 GB, free: 9.105 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1484, allocations: 0 / 0.6091 GB, free: 9.105 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005922/0.149, allocations: 470.2 kB / 0.6096 GB, free: 8.586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.149, allocations: 8.031 kB / 0.6096 GB, free: 8.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.1491, allocations: 7.906 kB / 0.6096 GB, free: 8.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1493, allocations: 214.7 kB / 0.6098 GB, free: 8.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.1494, allocations: 7.953 kB / 0.6098 GB, free: 8.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.1494, allocations: 8 kB / 0.6098 GB, free: 8.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.1497, allocations: 69.59 kB / 0.6099 GB, free: 8.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1497, allocations: 0 / 0.6099 GB, free: 8.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.1497, allocations: 15.94 kB / 0.6099 GB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.1497, allocations: 0 / 0.6099 GB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.1499, allocations: 35.98 kB / 0.6099 GB, free: 8.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.1505, allocations: 336.6 kB / 0.6102 GB, free: 7.801 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.1508, allocations: 66.69 kB / 0.6103 GB, free: 7.727 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.1509, allocations: 28.84 kB / 0.6103 GB, free: 7.695 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1509, allocations: 8 kB / 0.6103 GB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/0.1512, allocations: 79.31 kB / 0.6104 GB, free: 7.598 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.354e-06/0.1512, allocations: 4 kB / 0.6104 GB, free: 7.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004107/0.1516, allocations: 113.5 kB / 0.6105 GB, free: 7.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.1516, allocations: 51.41 kB / 0.6106 GB, free: 7.414 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1518, allocations: 162.2 kB / 0.6107 GB, free: 7.246 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1518, allocations: 29.7 kB / 0.6107 GB, free: 7.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.1519, allocations: 104.1 kB / 0.6108 GB, free: 7.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.152, allocations: 23.7 kB / 0.6109 GB, free: 7.082 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-06/0.152, allocations: 0 / 0.6109 GB, free: 7.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.152, allocations: 326.8 kB / 0.6112 GB, free: 6.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.1522, allocations: 27.97 kB / 0.6112 GB, free: 6.727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.1523, allocations: 57.69 kB / 0.6113 GB, free: 6.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.1524, allocations: 57.69 kB / 0.6113 GB, free: 6.602 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1525, allocations: 0 / 0.6113 GB, free: 6.602 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003263/0.1528, allocations: 155.2 kB / 0.6115 GB, free: 6.438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.1528, allocations: 37.14 kB / 0.6115 GB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1529, allocations: 0 / 0.6115 GB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1529, allocations: 3.984 kB / 0.6115 GB, free: 6.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.153, allocations: 20.02 kB / 0.6115 GB, free: 6.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.153, allocations: 4.312 kB / 0.6115 GB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.1531, allocations: 7.938 kB / 0.6115 GB, free: 6.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.1532, allocations: 11.98 kB / 0.6115 GB, free: 6.352 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.1533, allocations: 127.1 kB / 0.6117 GB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.1533, allocations: 7.906 kB / 0.6117 GB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.608e-05/0.1534, allocations: 12.72 kB / 0.6117 GB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1534, allocations: 7.984 kB / 0.6117 GB, free: 6.191 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.1534, allocations: 4 kB / 0.6117 GB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.1535, allocations: 92.86 kB / 0.6118 GB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.1535, allocations: 4 kB / 0.6118 GB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.08e-05/0.1536, allocations: 11.94 kB / 0.6118 GB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.1537, allocations: 7.938 kB / 0.6118 GB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003664/0.154, allocations: 181.1 kB / 0.612 GB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004165/0.1545, allocations: 298.6 kB / 0.6123 GB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001068/0.1546, allocations: 36.02 kB / 0.6123 GB, free: 5.527 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.41e-05/0.1547, allocations: 123.9 kB / 0.6124 GB, free: 5.406 MB / 282.7 MB Notification: Performance of Backend: time 8.32e-07/0.1547, allocations: 4 kB / 0.6124 GB, free: 5.402 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.1562, allocations: 436.9 kB / 0.6128 GB, free: 5.082 MB / 282.7 MB Notification: Performance of SimCode: time 0.0007116/0.1569, allocations: 0.6982 MB / 0.6135 GB, free: 4.336 MB / 282.7 MB Notification: Performance of Templates: time 0.006056/0.163, allocations: 1.722 MB / 0.6152 GB, free: 2.621 MB / 282.7 MB