Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001293/0.001293, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3959/0.3959, allocations: 38.03 MB / 308.4 MB, free: 10.35 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.0006743/0.0006744, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1487, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002692/0.1514, allocations: 1.362 MB / 435.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1529, allocations: 0.7381 MB / 436 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.153, allocations: 0 / 436 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.1533, allocations: 27.91 kB / 436.1 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.1536, allocations: 43.81 kB / 436.1 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.1539, allocations: 75.78 kB / 436.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.1541, allocations: 63.86 kB / 436.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1543, allocations: 12.2 kB / 436.3 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.585e-05/0.1544, allocations: 31.86 kB / 436.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.1544, allocations: 35.78 kB / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.1545, allocations: 0 / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.34e-05/0.1546, allocations: 27.98 kB / 436.3 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.1546, allocations: 15.92 kB / 436.4 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.1547, allocations: 45.58 kB / 436.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1548, allocations: 84.09 kB / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1548, allocations: 0 / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1548, allocations: 0 / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1549, allocations: 0 / 436.5 MB, free: 3 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005858/0.1555, allocations: 391 kB / 436.9 MB, free: 2.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.1555, allocations: 8.031 kB / 436.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.1556, allocations: 15.84 kB / 436.9 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1559, allocations: 202.8 kB / 437.1 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.1559, allocations: 4 kB / 437.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.1559, allocations: 8 kB / 437.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1561, allocations: 53.67 kB / 437.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1561, allocations: 3.938 kB / 437.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1561, allocations: 3.984 kB / 437.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1562, allocations: 3.984 kB / 437.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.795e-05/0.1562, allocations: 23.94 kB / 437.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.1567, allocations: 280.8 kB / 437.5 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1569, allocations: 58.67 kB / 437.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.157, allocations: 128 / 437.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.1572, allocations: 63.39 kB / 437.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1572, allocations: 0 / 437.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006557/0.1579, allocations: 177.2 kB / 437.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.158, allocations: 55.41 kB / 437.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1582, allocations: 170.2 kB / 438 MB, free: 1.316 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1582, allocations: 33.62 kB / 438 MB, free: 1.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1584, allocations: 100 kB / 438.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.1584, allocations: 31.62 kB / 438.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.1584, allocations: 0 / 438.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.1586, allocations: 322.8 kB / 438.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.1587, allocations: 20 kB / 438.5 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.1588, allocations: 37.7 kB / 438.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.551e-05/0.1588, allocations: 23.98 kB / 438.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1588, allocations: 192 / 438.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.1591, allocations: 97.53 kB / 438.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.1591, allocations: 11.94 kB / 438.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1591, allocations: 3.953 kB / 438.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1591, allocations: 0 / 438.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1592, allocations: 16.02 kB / 438.7 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1593, allocations: 8 kB / 438.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.1593, allocations: 0 / 438.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1593, allocations: 8 kB / 438.7 MB, free: 0.5859 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001288/0.1595, allocations: 126.8 kB / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.1595, allocations: 7.906 kB / 438.8 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/0.1596, allocations: 12.72 kB / 438.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.1596, allocations: 8.328 kB / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1596, allocations: 0 / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1596, allocations: 7.984 kB / 438.8 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000564/0.1602, allocations: 391.2 kB / 439.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1602, allocations: 7.922 kB / 439.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.1602, allocations: 11.95 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1602, allocations: 0 / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1603, allocations: 4 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1603, allocations: 0 / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1603, allocations: 0 / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.1606, allocations: 217.9 kB / 439.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.1607, allocations: 89 kB / 439.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.1607, allocations: 4 kB / 439.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.1608, allocations: 4 kB / 439.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.1609, allocations: 7.984 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.1609, allocations: 8 kB / 439.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.1611, allocations: 131.9 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1611, allocations: 0 / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1614, allocations: 27.98 kB / 439.7 MB, free: 15.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001149/0.1625, allocations: 473 kB / 440.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.1627, allocations: 67.88 kB / 440.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1627, allocations: 0 / 440.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.25e-05/0.1628, allocations: 28 kB / 440.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.1631, allocations: 27.92 kB / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.1635, allocations: 226.2 kB / 440.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.1639, allocations: 0.7004 MB / 441.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.063e-05/0.164, allocations: 24.86 kB / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.164, allocations: 15.44 kB / 441.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.164, allocations: 0 / 441.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of Templates: time 0.00466/0.1687, allocations: 1.583 MB / 442.8 MB, free: 12.26 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) Environment - environmentSimulation: