Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007735/0.0007735, allocations: 97.33 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.005151/0.005151, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.504/1.504, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3014/0.3014, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.0006244/0.0006243, allocations: 16 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1184, allocations: 57.52 MB / 434.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00231/0.1208, allocations: 1.593 MB / 436.2 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1221, allocations: 0.8233 MB / 437 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.021e-05/0.1222, allocations: 4 kB / 437 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.1224, allocations: 35.83 kB / 437 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.1226, allocations: 47.78 kB / 437.1 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.1229, allocations: 91.81 kB / 437.2 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1231, allocations: 131.6 kB / 437.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1232, allocations: 29.75 kB / 437.3 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.665e-05/0.1233, allocations: 51.72 kB / 437.4 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.565e-05/0.1234, allocations: 39.72 kB / 437.4 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1234, allocations: 4 kB / 437.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.535e-05/0.1235, allocations: 35.98 kB / 437.5 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.1236, allocations: 27.91 kB / 437.5 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/0.1236, allocations: 77.31 kB / 437.6 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1239, allocations: 135.5 kB / 437.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1239, allocations: 0 / 437.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1239, allocations: 3.984 kB / 437.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1239, allocations: 0 / 437.7 MB, free: 2.039 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006373/0.1245, allocations: 452.6 kB / 438.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1246, allocations: 12.03 kB / 438.1 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.1246, allocations: 16.75 kB / 438.2 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1249, allocations: 228.7 kB / 438.4 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.125, allocations: 8.312 kB / 438.4 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.125, allocations: 12.12 kB / 438.4 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.1252, allocations: 108.2 kB / 438.5 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1253, allocations: 0 / 438.5 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1253, allocations: 4 kB / 438.5 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1253, allocations: 0 / 438.5 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.1255, allocations: 59.91 kB / 438.6 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.1261, allocations: 0.5087 MB / 439.1 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.1264, allocations: 90.66 kB / 439.2 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.734e-05/0.1265, allocations: 44.83 kB / 439.2 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1266, allocations: 0 / 439.2 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.1268, allocations: 87.31 kB / 439.3 MB, free: 248 kB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 3.076e-06/0.1268, allocations: 3.984 kB / 439.3 MB, free: 244 kB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003991/0.1272, allocations: 153.4 kB / 439.5 MB, free: 84 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1273, allocations: 59.34 kB / 439.5 MB, free: 12 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1275, allocations: 187.5 kB / 439.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1275, allocations: 29.7 kB / 439.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.1276, allocations: 112 kB / 439.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.1276, allocations: 27.61 kB / 439.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.1277, allocations: 17.72 kB / 439.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1278, allocations: 330.8 kB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.1279, allocations: 35.98 kB / 440.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.128, allocations: 64.2 kB / 440.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.1282, allocations: 108.5 kB / 440.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1282, allocations: 4 kB / 440.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002569/0.1285, allocations: 137.5 kB / 440.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1285, allocations: 4 kB / 440.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1285, allocations: 0 / 440.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1286, allocations: 4 kB / 440.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1287, allocations: 31.92 kB / 440.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1287, allocations: 3.938 kB / 440.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.1288, allocations: 23.83 kB / 440.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1288, allocations: 4 kB / 440.6 MB, free: 14.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001055/0.1289, allocations: 129.8 kB / 440.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.1289, allocations: 15.81 kB / 440.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.129, allocations: 21.39 kB / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.129, allocations: 3.938 kB / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.129, allocations: 0 / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.129, allocations: 0 / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.1292, allocations: 205.6 kB / 441 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1292, allocations: 0 / 441 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.389e-05/0.1293, allocations: 19.92 kB / 441 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1293, allocations: 0 / 441 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1293, allocations: 8 kB / 441 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.1293, allocations: 7.938 kB / 441 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1293, allocations: 0 / 441 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.1297, allocations: 180.8 kB / 441.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.1298, allocations: 100.9 kB / 441.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.1298, allocations: 4.188 kB / 441.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.1299, allocations: 15.92 kB / 441.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.1299, allocations: 7.938 kB / 441.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1299, allocations: 4 kB / 441.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.13, allocations: 137.2 kB / 441.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.13, allocations: 0 / 441.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.1303, allocations: 27.98 kB / 441.5 MB, free: 13.87 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.000849/0.1311, allocations: 417.9 kB / 441.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.1314, allocations: 87.78 kB / 442 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1314, allocations: 0 / 442 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.332e-05/0.1315, allocations: 39.97 kB / 442 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1318, allocations: 32.23 kB / 442 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.1323, allocations: 309.8 kB / 442.4 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.1326, allocations: 0.7162 MB / 443.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.797e-05/0.1327, allocations: 21.39 kB / 443.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.1327, allocations: 15.44 kB / 443.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1328, allocations: 4 kB / 443.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of Templates: time 0.004249/0.137, allocations: 1.772 MB / 444.9 MB, free: 10.45 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) Environment - environmentSimulation: