Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001221/0.001222, allocations: 192.6 kB / 16.25 MB, free: 6.156 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.516/1.516, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.3086/0.3086, allocations: 37.97 MB / 307.4 MB, free: 10.05 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.001374/0.001374, allocations: 70.34 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.117, allocations: 56.46 MB / 431.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003096/0.1201, allocations: 1.708 MB / 432.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1213, allocations: 0.7727 MB / 433.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.1214, allocations: 3.938 kB / 433.7 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.1217, allocations: 59.86 kB / 433.7 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1219, allocations: 59.81 kB / 433.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.1222, allocations: 75.84 kB / 433.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1223, allocations: 99.69 kB / 434 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.1224, allocations: 7.984 kB / 434 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.845e-05/0.1225, allocations: 43.83 kB / 434 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.701e-05/0.1226, allocations: 47.77 kB / 434.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1226, allocations: 4 kB / 434.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.1227, allocations: 31.94 kB / 434.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.1228, allocations: 11.98 kB / 434.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.1228, allocations: 43.67 kB / 434.2 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.123, allocations: 95.98 kB / 434.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.123, allocations: 3.938 kB / 434.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.123, allocations: 0 / 434.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.123, allocations: 0 / 434.3 MB, free: 3.879 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005502/0.1236, allocations: 403 kB / 434.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1236, allocations: 11.89 kB / 434.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.1237, allocations: 8.844 kB / 434.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.1239, allocations: 208.1 kB / 434.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1239, allocations: 4.375 kB / 434.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.1239, allocations: 8.125 kB / 434.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.124, allocations: 49.67 kB / 434.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1241, allocations: 0 / 434.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1241, allocations: 0 / 434.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1241, allocations: 4 kB / 434.9 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.1e-05/0.1241, allocations: 19.92 kB / 435 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.1243, allocations: 177.6 kB / 435.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.1245, allocations: 58.61 kB / 435.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.1245, allocations: 20.8 kB / 435.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1246, allocations: 0 / 435.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.1247, allocations: 63.39 kB / 435.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1247, allocations: 0 / 435.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000266/0.125, allocations: 105.5 kB / 435.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.125, allocations: 51.41 kB / 435.4 MB, free: 2.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1252, allocations: 178.2 kB / 435.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1252, allocations: 33.7 kB / 435.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.1253, allocations: 100.1 kB / 435.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.1253, allocations: 7.812 kB / 435.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.1253, allocations: 25.7 kB / 435.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.1254, allocations: 322.8 kB / 436.1 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-05/0.1255, allocations: 12 kB / 436.1 MB, free: 1.828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.1256, allocations: 33.7 kB / 436.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.995e-05/0.1257, allocations: 49.89 kB / 436.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1257, allocations: 0 / 436.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001477/0.1258, allocations: 85.47 kB / 436.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1258, allocations: 4.031 kB / 436.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1258, allocations: 4 kB / 436.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.1259, allocations: 0 / 436.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.1259, allocations: 12 kB / 436.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1259, allocations: 0 / 436.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.126, allocations: 7.984 kB / 436.3 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.126, allocations: 0 / 436.3 MB, free: 1.617 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0001047/0.1261, allocations: 133.7 kB / 436.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.1261, allocations: 7.906 kB / 436.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.1262, allocations: 16.3 kB / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1262, allocations: 4 kB / 436.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1262, allocations: 0 / 436.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1262, allocations: 0 / 436.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.1264, allocations: 193.4 kB / 436.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1264, allocations: 0 / 436.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.1264, allocations: 7.984 kB / 436.6 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1264, allocations: 3.938 kB / 436.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1264, allocations: 0 / 436.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1264, allocations: 0 / 436.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1264, allocations: 0 / 436.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.1266, allocations: 113 kB / 436.8 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.1267, allocations: 85.14 kB / 436.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1267, allocations: 4 kB / 436.8 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.1267, allocations: 8 kB / 436.8 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.1268, allocations: 3.984 kB / 436.8 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1268, allocations: 7.938 kB / 436.9 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.767e-05/0.1269, allocations: 140.1 kB / 437 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1269, allocations: 4 kB / 437 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.1271, allocations: 23.98 kB / 437 MB, free: 0.7812 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0008582/0.128, allocations: 410.3 kB / 437.4 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.1281, allocations: 43.92 kB / 437.5 MB, free: 368 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1281, allocations: 0 / 437.5 MB, free: 368 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.95e-05/0.1282, allocations: 24.05 kB / 437.5 MB, free: 344 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.1285, allocations: 35.95 kB / 437.5 MB, free: 308 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.1289, allocations: 214 kB / 437.7 MB, free: 64 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1292, allocations: 0.704 MB / 438.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.952e-05/0.1293, allocations: 16.55 kB / 438.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.1293, allocations: 15.44 kB / 438.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1293, allocations: 0 / 438.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of Templates: time 0.003994/0.1333, allocations: 1.455 MB / 439.9 MB, free: 13.85 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)