Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 99.47 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.0009113/0.0009113, allocations: 177.3 kB / 15.94 MB, free: 228 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.313/1.313, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.3065/0.3065, allocations: 39.99 MB / 310.4 MB, free: 9.727 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.0005857/0.0005858, allocations: 16 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1093, allocations: 57.96 MB / 436.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.001982/0.1113, allocations: 1.386 MB / 438.2 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1125, allocations: 0.746 MB / 438.9 MB, free: 144 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.791e-05/0.1126, allocations: 0 / 438.9 MB, free: 144 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.1129, allocations: 99.67 kB / 439 MB, free: 44 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.1131, allocations: 79.8 kB / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.1134, allocations: 75.8 kB / 439.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1136, allocations: 75.89 kB / 439.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.1137, allocations: 15.98 kB / 439.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1138, allocations: 55.75 kB / 439.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.1139, allocations: 47.83 kB / 439.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1139, allocations: 4 kB / 439.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.293e-05/0.114, allocations: 31.92 kB / 439.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.1141, allocations: 27.91 kB / 439.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.1141, allocations: 45.62 kB / 439.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.1143, allocations: 100.1 kB / 439.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1143, allocations: 8 kB / 439.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1143, allocations: 0 / 439.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1143, allocations: 0 / 439.6 MB, free: 15.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00053/0.1148, allocations: 434.5 kB / 440 MB, free: 15.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1149, allocations: 8.031 kB / 440 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.1149, allocations: 15.81 kB / 440 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1152, allocations: 222.6 kB / 440.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1152, allocations: 0 / 440.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.1153, allocations: 11.91 kB / 440.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1154, allocations: 73.53 kB / 440.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1154, allocations: 0 / 440.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1154, allocations: 4 kB / 440.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1155, allocations: 3.953 kB / 440.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.82e-05/0.1156, allocations: 31.97 kB / 440.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.1159, allocations: 309 kB / 440.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1161, allocations: 78.67 kB / 440.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1162, allocations: 0 / 440.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.1164, allocations: 71.34 kB / 440.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1164, allocations: 3.938 kB / 440.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005856/0.117, allocations: 237.3 kB / 441 MB, free: 13.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.117, allocations: 63.34 kB / 441.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1172, allocations: 242.5 kB / 441.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1173, allocations: 25.7 kB / 441.3 MB, free: 13.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.1173, allocations: 112.1 kB / 441.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.1174, allocations: 35.55 kB / 441.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.1174, allocations: 4 kB / 441.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1175, allocations: 326.8 kB / 441.8 MB, free: 13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.456e-05/0.1176, allocations: 27.98 kB / 441.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.23e-05/0.1177, allocations: 49.7 kB / 441.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.063e-05/0.1177, allocations: 35.98 kB / 441.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1177, allocations: 0 / 441.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002261/0.118, allocations: 141.4 kB / 442.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.118, allocations: 11.98 kB / 442.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.118, allocations: 0 / 442.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.118, allocations: 0 / 442.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.1181, allocations: 24.03 kB / 442.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1181, allocations: 0 / 442.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.1182, allocations: 7.984 kB / 442.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1182, allocations: 4 kB / 442.1 MB, free: 12.69 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 (13): * Single equations (assignments): 13 * 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.000104/0.1183, allocations: 137.8 kB / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.1184, allocations: 19.77 kB / 442.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.1184, allocations: 21.39 kB / 442.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1184, allocations: 0 / 442.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1184, allocations: 0 / 442.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1184, allocations: 8 kB / 442.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.1189, allocations: 455.1 kB / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1189, allocations: 0 / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.874e-05/0.119, allocations: 19.94 kB / 442.8 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.119, allocations: 0 / 442.8 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.119, allocations: 4 kB / 442.8 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.119, allocations: 3.984 kB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.119, allocations: 4.031 kB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.1193, allocations: 237.8 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.1194, allocations: 96.91 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.1194, allocations: 4 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.321e-05/0.1195, allocations: 4 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.1195, allocations: 15.92 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.1196, allocations: 8 kB / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.1197, allocations: 184.5 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1197, allocations: 0 / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.12, allocations: 31.98 kB / 443.3 MB, free: 11.35 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 (11): * Single equations (assignments): 9 * 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.001007/0.121, allocations: 468.9 kB / 443.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1212, allocations: 75.91 kB / 443.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1212, allocations: 4 kB / 443.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.18e-05/0.1213, allocations: 47.86 kB / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.1216, allocations: 28.06 kB / 443.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.1221, allocations: 315.1 kB / 444.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1224, allocations: 0.7282 MB / 445 MB, free: 9.672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.84e-05/0.1224, allocations: 21.08 kB / 445 MB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.1225, allocations: 19.42 kB / 445 MB, free: 9.633 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1225, allocations: 0 / 445 MB, free: 9.633 MB / 382.1 MB Notification: Performance of Templates: time 0.004284/0.1268, allocations: 1.767 MB / 446.8 MB, free: 7.871 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) Environment - environmentSimulation: