Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007901/0.007901, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.737/1.737, allocations: 205.4 MB / 222.5 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3971/0.3971, allocations: 40.01 MB / 310.7 MB, free: 9.41 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.2. 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.0005707/0.0005707, allocations: 20 kB / 379.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1438, allocations: 57.96 MB / 437.4 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002674/0.1465, allocations: 1.405 MB / 438.8 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.1482, allocations: 0.7768 MB / 439.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1484, allocations: 4 kB / 439.6 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.1488, allocations: 35.83 kB / 439.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.1491, allocations: 47.83 kB / 439.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.1496, allocations: 75.8 kB / 439.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.1498, allocations: 99.67 kB / 439.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.15, allocations: 8.219 kB / 439.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.1501, allocations: 35.8 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1503, allocations: 39.83 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.1503, allocations: 0 / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.1505, allocations: 32 kB / 440 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.498e-05/0.1506, allocations: 19.86 kB / 440 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.642e-05/0.1508, allocations: 65.42 kB / 440.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.1511, allocations: 107.9 kB / 440.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.1511, allocations: 0 / 440.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1511, allocations: 0 / 440.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1511, allocations: 0 / 440.2 MB, free: 15.18 MB / 382.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.0007562/0.1519, allocations: 407 kB / 440.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.1519, allocations: 8.031 kB / 440.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/0.152, allocations: 8.844 kB / 440.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.1524, allocations: 212 kB / 440.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1524, allocations: 4.312 kB / 440.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.1524, allocations: 8.125 kB / 440.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1526, allocations: 53.67 kB / 440.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1527, allocations: 0 / 440.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1527, allocations: 0 / 440.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1527, allocations: 4 kB / 440.9 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.74e-05/0.1528, allocations: 19.98 kB / 440.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.1533, allocations: 280.9 kB / 441.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1535, allocations: 66.55 kB / 441.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.1536, allocations: 16.86 kB / 441.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1536, allocations: 8 kB / 441.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.1538, allocations: 67.3 kB / 441.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1538, allocations: 0 / 441.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006358/0.1545, allocations: 169.3 kB / 441.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.1545, allocations: 51.41 kB / 441.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1548, allocations: 190.1 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1548, allocations: 29.7 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.1549, allocations: 108.1 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.1549, allocations: 19.72 kB / 441.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.155, allocations: 17.66 kB / 441.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1551, allocations: 330.8 kB / 442.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.1552, allocations: 19.98 kB / 442.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/0.1553, allocations: 33.7 kB / 442.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.1554, allocations: 61.7 kB / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1554, allocations: 0 / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.1556, allocations: 101.5 kB / 442.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1556, allocations: 4 kB / 442.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1556, allocations: 0 / 442.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1557, allocations: 4 kB / 442.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.1558, allocations: 15.98 kB / 442.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1558, allocations: 4.094 kB / 442.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.529e-05/0.1558, allocations: 15.97 kB / 442.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1559, allocations: 384 / 442.5 MB, free: 12.65 MB / 382.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.0001165/0.156, allocations: 125.8 kB / 442.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.156, allocations: 7.906 kB / 442.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.1561, allocations: 24.69 kB / 442.6 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1561, allocations: 8.172 kB / 442.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1561, allocations: 4 kB / 442.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1561, allocations: 7.875 kB / 442.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.1566, allocations: 387.2 kB / 443 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1566, allocations: 0 / 443 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.1566, allocations: 8 kB / 443 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1566, allocations: 4 kB / 443 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1567, allocations: 7.938 kB / 443 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1567, allocations: 7.922 kB / 443 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1567, allocations: 0 / 443 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1569, allocations: 204.2 kB / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.157, allocations: 92.92 kB / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.157, allocations: 7.938 kB / 443.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.1571, allocations: 3.984 kB / 443.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.1571, allocations: 8 kB / 443.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1572, allocations: 4 kB / 443.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.1573, allocations: 144 kB / 443.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1573, allocations: 8 kB / 443.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1576, allocations: 20 kB / 443.5 MB, free: 11.48 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 (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.001072/0.1586, allocations: 456.7 kB / 444 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.1588, allocations: 63.92 kB / 444 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1589, allocations: 0 / 444 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.695e-05/0.159, allocations: 27.92 kB / 444 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1593, allocations: 35.86 kB / 444.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.1599, allocations: 238.8 kB / 444.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.1602, allocations: 0.7082 MB / 445 MB, free: 9.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.247e-05/0.1603, allocations: 13.19 kB / 445 MB, free: 9.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.1603, allocations: 27.42 kB / 445.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1603, allocations: 0 / 445.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of Templates: time 0.004658/0.165, allocations: 1.615 MB / 446.7 MB, free: 8.285 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) Environment - environmentSimulation: