Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01058/0.01058, allocations: 101.2 kB / 15.73 MB, free: 5.586 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.002179/0.002179, allocations: 189.6 kB / 16.67 MB, free: 5.523 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.492/1.492, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1868/0.1868, allocations: 38.01 MB / 307.9 MB, free: 5.98 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.001511/0.001511, allocations: 73.72 kB / 433 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1165, allocations: 56.47 MB / 489.5 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003731/0.1203, allocations: 1.672 MB / 491.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1216, allocations: 0.809 MB / 492 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.1217, allocations: 4 kB / 492 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.1221, allocations: 47.75 kB / 492 MB, free: 3.266 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.1224, allocations: 43.77 kB / 492.1 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.1227, allocations: 83.77 kB / 492.2 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.1229, allocations: 99.69 kB / 492.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.123, allocations: 16.2 kB / 492.3 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.053e-05/0.1231, allocations: 35.86 kB / 492.3 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.427e-05/0.1232, allocations: 39.72 kB / 492.4 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.1232, allocations: 4 kB / 492.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1233, allocations: 39.98 kB / 492.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.1234, allocations: 19.92 kB / 492.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.1235, allocations: 39.77 kB / 492.5 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1237, allocations: 103.7 kB / 492.6 MB, free: 2.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.1237, allocations: 8 kB / 492.6 MB, free: 2.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1237, allocations: 0 / 492.6 MB, free: 2.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1237, allocations: 7.938 kB / 492.6 MB, free: 2.734 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.0006672/0.1244, allocations: 410.9 kB / 493 MB, free: 2.285 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.1245, allocations: 11.89 kB / 493 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.1245, allocations: 8.844 kB / 493 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.1249, allocations: 212 kB / 493.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1249, allocations: 384 / 493.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.125, allocations: 16.03 kB / 493.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1251, allocations: 57.67 kB / 493.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1252, allocations: 0 / 493.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1252, allocations: 0 / 493.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1252, allocations: 4 kB / 493.3 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.431e-05/0.1253, allocations: 19.92 kB / 493.3 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.1257, allocations: 280.9 kB / 493.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.1259, allocations: 62.67 kB / 493.6 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.126, allocations: 20.84 kB / 493.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.1261, allocations: 4 kB / 493.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.1263, allocations: 71.31 kB / 493.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.1263, allocations: 0 / 493.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006262/0.1269, allocations: 177.1 kB / 493.9 MB, free: 1.234 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.127, allocations: 59.41 kB / 494 MB, free: 1.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1272, allocations: 174.2 kB / 494.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1272, allocations: 29.7 kB / 494.2 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.1273, allocations: 100.1 kB / 494.3 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.1273, allocations: 27.64 kB / 494.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.1274, allocations: 25.66 kB / 494.3 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1275, allocations: 330.8 kB / 494.6 MB, free: 468 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.1276, allocations: 23.98 kB / 494.7 MB, free: 444 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.1277, allocations: 33.7 kB / 494.7 MB, free: 404 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1278, allocations: 57.66 kB / 494.7 MB, free: 340 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1278, allocations: 4 kB / 494.7 MB, free: 336 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001961/0.128, allocations: 101.6 kB / 494.8 MB, free: 228 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.128, allocations: 8.031 kB / 494.9 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.128, allocations: 4 kB / 494.9 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.128, allocations: 0 / 494.9 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-05/0.1281, allocations: 20.3 kB / 494.9 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1282, allocations: 0 / 494.9 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.1282, allocations: 16.03 kB / 494.9 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1282, allocations: 8 kB / 494.9 MB, free: 172 kB / 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 (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.0001038/0.1283, allocations: 129.7 kB / 495 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.1284, allocations: 7.906 kB / 495 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.1284, allocations: 16.72 kB / 495 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1284, allocations: 0 / 495 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1285, allocations: 4 kB / 495.1 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1285, allocations: 3.938 kB / 495.1 MB, free: 0 / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.1289, allocations: 387.3 kB / 495.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1289, allocations: 3.984 kB / 495.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.129, allocations: 11.94 kB / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.129, allocations: 0 / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.129, allocations: 11.94 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.129, allocations: 4.031 kB / 495.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.129, allocations: 0 / 495.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.1293, allocations: 196.2 kB / 495.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.1293, allocations: 89 kB / 495.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1294, allocations: 7.938 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.1294, allocations: 4 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.1295, allocations: 15.97 kB / 495.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.1295, allocations: 4 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.1297, allocations: 148 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1297, allocations: 0 / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1299, allocations: 27.98 kB / 495.9 MB, free: 15.01 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.001094/0.131, allocations: 459 kB / 496.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1313, allocations: 55.97 kB / 496.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1313, allocations: 3.938 kB / 496.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.405e-05/0.1314, allocations: 24 kB / 496.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1317, allocations: 36.08 kB / 496.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.1322, allocations: 223.3 kB / 496.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1326, allocations: 0.7079 MB / 497.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.451e-05/0.1326, allocations: 16.88 kB / 497.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.1327, allocations: 15.44 kB / 497.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1327, allocations: 4 kB / 497.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of Templates: time 0.004866/0.1375, allocations: 1.704 MB / 499.2 MB, free: 11.77 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)