Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, 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.001294/0.001294, allocations: 189.5 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.518/1.518, allocations: 205.1 MB / 222 MB, free: 4.766 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.3155/0.3155, allocations: 37.97 MB / 307.3 MB, free: 10.05 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.001503/0.001503, allocations: 64.55 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1472, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003087/0.1503, allocations: 1.728 MB / 432.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1516, allocations: 0.8077 MB / 433.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.1517, allocations: 0 / 433.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.152, allocations: 31.91 kB / 433.6 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.1522, allocations: 51.77 kB / 433.6 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.1524, allocations: 79.78 kB / 433.7 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1526, allocations: 95.69 kB / 433.8 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.1527, allocations: 12.22 kB / 433.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.679e-05/0.1528, allocations: 35.78 kB / 433.9 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.1529, allocations: 27.86 kB / 433.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1529, allocations: 4 kB / 433.9 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.153, allocations: 39.97 kB / 433.9 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.153, allocations: 15.92 kB / 433.9 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.1531, allocations: 43.69 kB / 434 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.1533, allocations: 111.9 kB / 434.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1533, allocations: 0 / 434.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1533, allocations: 0 / 434.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1533, allocations: 0 / 434.1 MB, free: 3.969 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.0005261/0.1539, allocations: 411.1 kB / 434.5 MB, free: 3.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1539, allocations: 8.031 kB / 434.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.154, allocations: 12.75 kB / 434.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.1542, allocations: 208.1 kB / 434.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1542, allocations: 4.375 kB / 434.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1542, allocations: 8.125 kB / 434.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1544, allocations: 57.61 kB / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1544, allocations: 0 / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1544, allocations: 0 / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.1544, allocations: 0 / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.002e-05/0.1545, allocations: 23.98 kB / 434.8 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.1549, allocations: 288.8 kB / 435.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1551, allocations: 58.61 kB / 435.2 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.1551, allocations: 16.86 kB / 435.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1552, allocations: 4 kB / 435.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.1554, allocations: 63.39 kB / 435.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1554, allocations: 4 kB / 435.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005302/0.1559, allocations: 177.2 kB / 435.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.156, allocations: 55.39 kB / 435.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.1561, allocations: 186.2 kB / 435.7 MB, free: 2.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1562, allocations: 29.64 kB / 435.7 MB, free: 2.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.1562, allocations: 104.1 kB / 435.8 MB, free: 2.082 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.1563, allocations: 19.72 kB / 435.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.1563, allocations: 29.7 kB / 435.8 MB, free: 2.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1565, allocations: 330.8 kB / 436.2 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.769e-05/0.1565, allocations: 20.31 kB / 436.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.1566, allocations: 33.7 kB / 436.2 MB, free: 1.637 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1567, allocations: 57.7 kB / 436.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1567, allocations: 4 kB / 436.3 MB, free: 1.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001746/0.1569, allocations: 109.4 kB / 436.4 MB, free: 1.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1569, allocations: 4 kB / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1569, allocations: 0 / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1569, allocations: 4 kB / 436.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.824e-05/0.157, allocations: 16 kB / 436.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1571, allocations: 0 / 436.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.1571, allocations: 11.92 kB / 436.4 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1571, allocations: 0 / 436.4 MB, free: 1.422 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 (10): * Single equations (assignments): 10 * 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.0001025/0.1572, allocations: 129.8 kB / 436.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.1573, allocations: 11.91 kB / 436.5 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.1573, allocations: 20.69 kB / 436.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1573, allocations: 0 / 436.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.1573, allocations: 4 kB / 436.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1573, allocations: 3.938 kB / 436.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.1578, allocations: 387.3 kB / 437 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1578, allocations: 0 / 437 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.1578, allocations: 12.03 kB / 437 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1578, allocations: 3.984 kB / 437 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1579, allocations: 11.88 kB / 437 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1579, allocations: 0 / 437 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1579, allocations: 0 / 437 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.1581, allocations: 208.1 kB / 437.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.1581, allocations: 85.02 kB / 437.3 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.1582, allocations: 7.938 kB / 437.3 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.1583, allocations: 11.98 kB / 437.3 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.1583, allocations: 4 kB / 437.3 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.1583, allocations: 8 kB / 437.3 MB, free: 436 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.1584, allocations: 144.2 kB / 437.4 MB, free: 292 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1584, allocations: 0 / 437.4 MB, free: 292 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1587, allocations: 23.94 kB / 437.5 MB, free: 268 kB / 366.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 (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.001107/0.1598, allocations: 479 kB / 437.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.16, allocations: 55.92 kB / 438 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.16, allocations: 0 / 438 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.156e-05/0.1601, allocations: 35.86 kB / 438 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1605, allocations: 28.11 kB / 438 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004927/0.161, allocations: 237.3 kB / 438.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1613, allocations: 0.7043 MB / 439 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.12e-05/0.1614, allocations: 12.88 kB / 439 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.1614, allocations: 19.44 kB / 439 MB, free: 14.67 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1614, allocations: 0 / 439 MB, free: 14.67 MB / 382.1 MB Notification: Performance of Templates: time 0.004435/0.1659, allocations: 1.636 MB / 440.6 MB, free: 13.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)