Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009974/0.0009975, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001151/0.001151, allocations: 168.7 kB / 15.95 MB, free: 200 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.839/1.839, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.399/0.399, allocations: 40 MB / 310.4 MB, free: 9.969 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.0005854/0.0005856, allocations: 19.98 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1446, allocations: 57.96 MB / 436.8 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002604/0.1473, allocations: 1.389 MB / 438.2 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1488, allocations: 0.7421 MB / 438.9 MB, free: 412 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.1489, allocations: 3.938 kB / 438.9 MB, free: 408 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.1493, allocations: 35.89 kB / 439 MB, free: 372 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.1496, allocations: 39.84 kB / 439 MB, free: 332 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.15, allocations: 79.84 kB / 439.1 MB, free: 252 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1502, allocations: 87.69 kB / 439.2 MB, free: 164 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1503, allocations: 8.219 kB / 439.2 MB, free: 156 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1505, allocations: 39.78 kB / 439.2 MB, free: 116 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.739e-05/0.1506, allocations: 27.86 kB / 439.3 MB, free: 88 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1506, allocations: 0 / 439.3 MB, free: 88 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1508, allocations: 39.97 kB / 439.3 MB, free: 48 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.1508, allocations: 19.92 kB / 439.3 MB, free: 28 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.512e-05/0.1509, allocations: 37.64 kB / 439.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1511, allocations: 84.09 kB / 439.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.036e-06/0.1511, allocations: 0 / 439.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1511, allocations: 3.938 kB / 439.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1511, allocations: 0 / 439.4 MB, free: 15.9 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.0006381/0.1518, allocations: 402.8 kB / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1518, allocations: 8.031 kB / 439.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.1519, allocations: 7.906 kB / 439.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.1522, allocations: 202.9 kB / 440 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1522, allocations: 4 kB / 440 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1522, allocations: 7.938 kB / 440.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1524, allocations: 53.67 kB / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1524, allocations: 0 / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1524, allocations: 0 / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.1525, allocations: 3.953 kB / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-05/0.1525, allocations: 19.98 kB / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.153, allocations: 284.9 kB / 440.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.1532, allocations: 66.61 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.1533, allocations: 20.84 kB / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.1533, allocations: 0 / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.1535, allocations: 75.25 kB / 440.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.1536, allocations: 4 kB / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006089/0.1542, allocations: 161.3 kB / 440.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.1542, allocations: 55.41 kB / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1545, allocations: 190.1 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1545, allocations: 25.7 kB / 441 MB, free: 14.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.1546, allocations: 104.1 kB / 441.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.1546, allocations: 23.7 kB / 441.1 MB, free: 14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.1546, allocations: 4 kB / 441.1 MB, free: 14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1548, allocations: 322.8 kB / 441.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.87e-05/0.1548, allocations: 23.94 kB / 441.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.1549, allocations: 33.7 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.122e-05/0.155, allocations: 23.98 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.155, allocations: 4 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001949/0.1552, allocations: 105.5 kB / 441.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1552, allocations: 4 kB / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1552, allocations: 4.031 kB / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1552, allocations: 7.984 kB / 441.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.498e-05/0.1553, allocations: 16.36 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1554, allocations: 0 / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.1554, allocations: 4 kB / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1554, allocations: 4 kB / 441.7 MB, free: 13.44 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 ($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.000102/0.1555, allocations: 129.8 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.1556, allocations: 11.86 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.1556, allocations: 16.72 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.1556, allocations: 7.984 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1557, allocations: 3.938 kB / 441.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1557, allocations: 0 / 441.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.1561, allocations: 391.2 kB / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1561, allocations: 0 / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.1562, allocations: 11.94 kB / 442.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1562, allocations: 4 kB / 442.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1562, allocations: 4.219 kB / 442.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1562, allocations: 0 / 442.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1562, allocations: 7.922 kB / 442.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.1565, allocations: 200.5 kB / 442.4 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.1566, allocations: 92.88 kB / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1567, allocations: 4 kB / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.1567, allocations: 7.984 kB / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.1568, allocations: 11.94 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.1568, allocations: 7.938 kB / 442.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1569, allocations: 144 kB / 442.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.157, allocations: 0 / 442.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.1572, allocations: 24 kB / 442.7 MB, free: 12.27 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.001116/0.1584, allocations: 472.7 kB / 443.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.1586, allocations: 51.92 kB / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1586, allocations: 0 / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.374e-05/0.1586, allocations: 31.98 kB / 443.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.159, allocations: 19.98 kB / 443.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.1595, allocations: 246.4 kB / 443.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1598, allocations: 0.7083 MB / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.506e-05/0.1599, allocations: 13.19 kB / 444.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.1599, allocations: 19.42 kB / 444.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1599, allocations: 0 / 444.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of Templates: time 0.004923/0.1649, allocations: 1.58 MB / 445.8 MB, free: 9.117 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) Environment - environmentSimulation: