Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007526/0.0007526, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004999/0.004999, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.468/1.468, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.3425/0.3425, allocations: 38.04 MB / 308.8 MB, free: 10.37 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.0005537/0.0005537, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.111, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.001953/0.113, allocations: 1.393 MB / 436 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1142, allocations: 0.7923 MB / 436.8 MB, free: 3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.1143, allocations: 0 / 436.8 MB, free: 3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.1146, allocations: 51.86 kB / 436.8 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.1148, allocations: 55.77 kB / 436.9 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.115, allocations: 79.78 kB / 436.9 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.1152, allocations: 95.69 kB / 437 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.023e-05/0.1153, allocations: 12.22 kB / 437 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.831e-05/0.1154, allocations: 39.78 kB / 437.1 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.1154, allocations: 35.84 kB / 437.1 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1155, allocations: 4 kB / 437.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.211e-05/0.1156, allocations: 35.98 kB / 437.2 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.1156, allocations: 31.84 kB / 437.2 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.753e-05/0.1157, allocations: 61.39 kB / 437.2 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1159, allocations: 135.8 kB / 437.4 MB, free: 2.367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1159, allocations: 3.938 kB / 437.4 MB, free: 2.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1159, allocations: 0 / 437.4 MB, free: 2.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1159, allocations: 0 / 437.4 MB, free: 2.363 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.0005036/0.1165, allocations: 426.9 kB / 437.8 MB, free: 1.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1165, allocations: 8.031 kB / 437.8 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.1165, allocations: 16.75 kB / 437.8 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1168, allocations: 216.9 kB / 438 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1168, allocations: 384 / 438 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.1168, allocations: 8.125 kB / 438 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1169, allocations: 57.66 kB / 438.1 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.117, allocations: 0 / 438.1 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.117, allocations: 0 / 438.1 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.117, allocations: 8 kB / 438.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.1171, allocations: 19.98 kB / 438.1 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.1174, allocations: 304.8 kB / 438.4 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.1176, allocations: 54.62 kB / 438.5 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.1177, allocations: 24.84 kB / 438.5 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.1177, allocations: 0 / 438.5 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.1179, allocations: 67.39 kB / 438.6 MB, free: 1.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1179, allocations: 0 / 438.6 MB, free: 1.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005038/0.1184, allocations: 189.2 kB / 438.8 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.1184, allocations: 55.34 kB / 438.8 MB, free: 0.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.1187, allocations: 268.8 kB / 439.1 MB, free: 488 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1187, allocations: 29.7 kB / 439.1 MB, free: 452 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.1188, allocations: 116.1 kB / 439.2 MB, free: 332 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1188, allocations: 23.64 kB / 439.2 MB, free: 308 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.1189, allocations: 21.66 kB / 439.3 MB, free: 280 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.119, allocations: 330.8 kB / 439.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/0.1191, allocations: 19.98 kB / 439.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.1191, allocations: 37.64 kB / 439.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1192, allocations: 65.69 kB / 439.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1192, allocations: 0 / 439.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001791/0.1194, allocations: 105.4 kB / 439.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1194, allocations: 8 kB / 439.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1195, allocations: 0 / 439.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1195, allocations: 0 / 439.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.351e-05/0.1196, allocations: 15.98 kB / 439.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1196, allocations: 7.938 kB / 439.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.1196, allocations: 7.969 kB / 439.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1196, allocations: 4 kB / 439.8 MB, free: 15.66 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.0001217/0.1198, allocations: 133.8 kB / 440 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.1198, allocations: 19.8 kB / 440 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.1199, allocations: 21.41 kB / 440 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1199, allocations: 0 / 440 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1199, allocations: 0 / 440 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1199, allocations: 3.938 kB / 440 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.1203, allocations: 407.5 kB / 440.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1203, allocations: 0 / 440.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.1203, allocations: 8 kB / 440.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1203, allocations: 3.984 kB / 440.4 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1204, allocations: 7.938 kB / 440.4 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.1204, allocations: 4.078 kB / 440.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1204, allocations: 3.984 kB / 440.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.1206, allocations: 204.2 kB / 440.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.1206, allocations: 92.92 kB / 440.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.1207, allocations: 11.92 kB / 440.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.1208, allocations: 0 / 440.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.1208, allocations: 7.938 kB / 440.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.1208, allocations: 11.98 kB / 440.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.121, allocations: 204.5 kB / 441 MB, free: 14.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.121, allocations: 4 kB / 441 MB, free: 14.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1213, allocations: 31.98 kB / 441 MB, free: 14.39 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.000934/0.1222, allocations: 452.2 kB / 441.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.1224, allocations: 63.92 kB / 441.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1224, allocations: 0 / 441.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.578e-05/0.1225, allocations: 31.91 kB / 441.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.1228, allocations: 35.95 kB / 441.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.1233, allocations: 331.2 kB / 441.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.1236, allocations: 0.7238 MB / 442.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.778e-05/0.1237, allocations: 17.17 kB / 442.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.1237, allocations: 19.44 kB / 442.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1237, allocations: 0 / 442.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of Templates: time 0.00404/0.1278, allocations: 1.648 MB / 444.3 MB, free: 11.06 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) Environment - environmentSimulation: