Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008009/0.0008009, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008675/0.0008674, allocations: 168.7 kB / 15.95 MB, free: 204 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.268/1.268, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.2965/0.2965, allocations: 38.03 MB / 308.4 MB, free: 10.33 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.0005759/0.0005761, allocations: 20 kB / 376.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1122, allocations: 57.52 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002102/0.1144, allocations: 1.366 MB / 435.3 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1157, allocations: 0.742 MB / 436.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.488e-05/0.1158, allocations: 7.938 kB / 436.1 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003098/0.1161, allocations: 43.83 kB / 436.1 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1163, allocations: 39.83 kB / 436.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.1166, allocations: 71.86 kB / 436.2 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1168, allocations: 83.75 kB / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.1169, allocations: 12.2 kB / 436.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.222e-05/0.117, allocations: 35.8 kB / 436.4 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.1171, allocations: 31.84 kB / 436.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1171, allocations: 4 kB / 436.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1172, allocations: 35.98 kB / 436.4 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.1173, allocations: 19.92 kB / 436.5 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.1174, allocations: 37.64 kB / 436.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.1175, allocations: 80.09 kB / 436.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1175, allocations: 0 / 436.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1176, allocations: 0 / 436.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1176, allocations: 0 / 436.6 MB, free: 2.918 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.0004972/0.1181, allocations: 406.8 kB / 437 MB, free: 2.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1181, allocations: 12.03 kB / 437 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.1182, allocations: 15.77 kB / 437 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1184, allocations: 202.9 kB / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1184, allocations: 3.984 kB / 437.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.1184, allocations: 4 kB / 437.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1186, allocations: 57.67 kB / 437.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1186, allocations: 0 / 437.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1186, allocations: 0 / 437.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1186, allocations: 0 / 437.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.002e-05/0.1187, allocations: 27.88 kB / 437.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.1191, allocations: 284.9 kB / 437.6 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.1192, allocations: 58.67 kB / 437.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.1193, allocations: 20.84 kB / 437.6 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1193, allocations: 0 / 437.6 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.1195, allocations: 75.33 kB / 437.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1195, allocations: 0 / 437.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005074/0.12, allocations: 169.2 kB / 437.9 MB, free: 1.434 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.1201, allocations: 59.41 kB / 437.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.1202, allocations: 178.2 kB / 438.1 MB, free: 1.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1203, allocations: 29.7 kB / 438.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.1203, allocations: 108.1 kB / 438.3 MB, free: 1.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1204, allocations: 19.72 kB / 438.3 MB, free: 1.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.1204, allocations: 4 kB / 438.3 MB, free: 1.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1205, allocations: 318.8 kB / 438.6 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/0.1206, allocations: 23.98 kB / 438.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.1206, allocations: 33.7 kB / 438.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.527e-05/0.1207, allocations: 23.98 kB / 438.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1207, allocations: 4 kB / 438.7 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.1209, allocations: 105.4 kB / 438.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1209, allocations: 11.94 kB / 438.8 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1209, allocations: 0 / 438.8 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1209, allocations: 7.938 kB / 438.8 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.121, allocations: 12 kB / 438.8 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.121, allocations: 0 / 438.8 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.1211, allocations: 7.984 kB / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.1211, allocations: 3.938 kB / 438.8 MB, free: 460 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 ($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 (10): * Single equations (assignments): 10 * 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.0001069/0.1212, allocations: 130.9 kB / 438.9 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.1212, allocations: 7.906 kB / 438.9 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.1213, allocations: 20.66 kB / 439 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1213, allocations: 4 kB / 439 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1213, allocations: 0 / 439 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1213, allocations: 0 / 439 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.1217, allocations: 387.3 kB / 439.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1218, allocations: 8.359 kB / 439.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.1218, allocations: 8 kB / 439.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1218, allocations: 0 / 439.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1218, allocations: 12.17 kB / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1218, allocations: 0 / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1218, allocations: 3.938 kB / 439.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.1221, allocations: 208.4 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.746e-05/0.1221, allocations: 92.97 kB / 439.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.1222, allocations: 11.98 kB / 439.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.1223, allocations: 0 / 439.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.1223, allocations: 4 kB / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.1223, allocations: 7.984 kB / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1224, allocations: 140.1 kB / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1224, allocations: 0 / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1227, allocations: 27.98 kB / 439.9 MB, free: 15.29 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 (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.0009805/0.1237, allocations: 468.8 kB / 440.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.1239, allocations: 51.92 kB / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1239, allocations: 0 / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.603e-05/0.1239, allocations: 39.97 kB / 440.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1243, allocations: 31.97 kB / 440.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.1247, allocations: 230.4 kB / 440.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.125, allocations: 0.7043 MB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.326e-05/0.125, allocations: 17.17 kB / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.1251, allocations: 15.44 kB / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1251, allocations: 0 / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of Templates: time 0.003956/0.129, allocations: 1.595 MB / 443 MB, free: 12.12 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) Environment - environmentSimulation: