Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009655/0.0009654, allocations: 91.38 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.006475/0.006475, allocations: 172 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.547/1.547, 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.3187/0.3187, allocations: 38.02 MB / 308.8 MB, free: 10.36 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.0005557/0.0005557, allocations: 20.22 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.108, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.001824/0.1098, allocations: 1.389 MB / 436 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1111, allocations: 0.7845 MB / 436.7 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.1112, allocations: 0 / 436.7 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.1114, allocations: 31.84 kB / 436.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.1116, allocations: 43.83 kB / 436.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.1118, allocations: 83.78 kB / 436.9 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.112, allocations: 95.69 kB / 437 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.829e-05/0.1121, allocations: 16.22 kB / 437 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.1122, allocations: 39.78 kB / 437.1 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.1123, allocations: 23.86 kB / 437.1 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1123, allocations: 0 / 437.1 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.14e-05/0.1124, allocations: 47.84 kB / 437.1 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.1124, allocations: 19.92 kB / 437.1 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.573e-05/0.1125, allocations: 57.5 kB / 437.2 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.1127, allocations: 103.9 kB / 437.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1127, allocations: 0 / 437.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1127, allocations: 0 / 437.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1127, allocations: 4 kB / 437.3 MB, free: 2.453 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.0004403/0.1131, allocations: 387.2 kB / 437.7 MB, free: 2.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.1132, allocations: 8.031 kB / 437.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.1132, allocations: 8.844 kB / 437.7 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1134, allocations: 220 kB / 437.9 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1134, allocations: 384 / 437.9 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1134, allocations: 8.125 kB / 437.9 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1136, allocations: 57.67 kB / 438 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1136, allocations: 3.984 kB / 438 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1136, allocations: 0 / 438 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1136, allocations: 4 kB / 438 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.76e-05/0.1137, allocations: 19.98 kB / 438 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.114, allocations: 284.7 kB / 438.3 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.1141, allocations: 62.67 kB / 438.3 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.1142, allocations: 20.84 kB / 438.4 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1142, allocations: 4 kB / 438.4 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.1144, allocations: 67.33 kB / 438.4 MB, free: 1.156 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1144, allocations: 0 / 438.4 MB, free: 1.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000451/0.1149, allocations: 161.4 kB / 438.6 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.1149, allocations: 63.34 kB / 438.7 MB, free: 0.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1151, allocations: 170.2 kB / 438.8 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.1151, allocations: 25.7 kB / 438.8 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.1152, allocations: 104 kB / 438.9 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.1152, allocations: 19.75 kB / 439 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.1153, allocations: 13.72 kB / 439 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1154, allocations: 326.8 kB / 439.3 MB, free: 244 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.1155, allocations: 19.98 kB / 439.3 MB, free: 224 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.789e-05/0.1155, allocations: 41.7 kB / 439.4 MB, free: 176 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.1156, allocations: 65.62 kB / 439.4 MB, free: 104 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1156, allocations: 0 / 439.4 MB, free: 104 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001653/0.1158, allocations: 93.69 kB / 439.5 MB, free: 4 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.1158, allocations: 8.047 kB / 439.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1159, allocations: 4.094 kB / 439.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1159, allocations: 0 / 439.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.116, allocations: 23.91 kB / 439.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.116, allocations: 7.984 kB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.116, allocations: 8.312 kB / 439.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1161, allocations: 4 kB / 439.6 MB, free: 15.95 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 8.213e-05/0.1161, allocations: 125.8 kB / 439.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.1162, allocations: 7.906 kB / 439.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.1162, allocations: 16.72 kB / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1162, allocations: 4 kB / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1162, allocations: 8 kB / 439.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1162, allocations: 7.922 kB / 439.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.1166, allocations: 383.3 kB / 440.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1166, allocations: 0 / 440.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.1167, allocations: 8 kB / 440.1 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1167, allocations: 4 kB / 440.1 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.1167, allocations: 3.938 kB / 440.1 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1167, allocations: 0 / 440.1 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1167, allocations: 7.969 kB / 440.1 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.1169, allocations: 200.2 kB / 440.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.117, allocations: 93 kB / 440.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.117, allocations: 7.938 kB / 440.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.569e-05/0.1171, allocations: 0 / 440.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.1171, allocations: 7.984 kB / 440.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.1171, allocations: 12 kB / 440.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.327e-05/0.1172, allocations: 131.9 kB / 440.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1172, allocations: 0 / 440.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1175, allocations: 27.98 kB / 440.6 MB, free: 14.81 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.0008877/0.1184, allocations: 475.3 kB / 441.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.1185, allocations: 55.95 kB / 441.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1186, allocations: 0 / 441.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.3e-05/0.1186, allocations: 31.94 kB / 441.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.1189, allocations: 27.91 kB / 441.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.1193, allocations: 234.2 kB / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.1196, allocations: 0.7081 MB / 442.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.203e-05/0.1197, allocations: 17.19 kB / 442.1 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.1197, allocations: 23.42 kB / 442.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1197, allocations: 0 / 442.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of Templates: time 0.003717/0.1235, allocations: 1.601 MB / 443.8 MB, free: 11.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) Environment - environmentSimulation: