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.0009684/0.0009684, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001029/0.001029, allocations: 172.7 kB / 15.95 MB, free: 208 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.31/1.31, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.2839/0.2839, allocations: 38.03 MB / 308.4 MB, free: 10.44 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.0005272/0.0005272, allocations: 20 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09636/0.0969, allocations: 57.52 MB / 434 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.001762/0.09869, allocations: 1.366 MB / 435.3 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.09982, allocations: 0.7459 MB / 436.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.09992, allocations: 0 / 436.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.1002, allocations: 39.83 kB / 436.1 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.1003, allocations: 35.84 kB / 436.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.1006, allocations: 79.84 kB / 436.2 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1007, allocations: 75.77 kB / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.035e-05/0.1008, allocations: 24.19 kB / 436.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.818e-05/0.1009, allocations: 35.8 kB / 436.4 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.839e-05/0.101, allocations: 23.86 kB / 436.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.101, allocations: 4 kB / 436.4 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.1011, allocations: 43.91 kB / 436.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.1011, allocations: 15.92 kB / 436.5 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.1012, allocations: 33.7 kB / 436.5 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.1013, allocations: 80.05 kB / 436.6 MB, free: 2.914 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1013, allocations: 4 kB / 436.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1013, allocations: 0 / 436.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.1013, allocations: 0 / 436.6 MB, free: 2.91 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.000413/0.1018, allocations: 402.9 kB / 437 MB, free: 2.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.1018, allocations: 8.031 kB / 437 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.1018, allocations: 11.86 kB / 437 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.102, allocations: 202.9 kB / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.102, allocations: 0 / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.1021, allocations: 4 kB / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.1022, allocations: 53.67 kB / 437.2 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1022, allocations: 0 / 437.2 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1022, allocations: 11.92 kB / 437.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1022, allocations: 0 / 437.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.824e-05/0.1023, allocations: 27.88 kB / 437.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.1026, allocations: 280.9 kB / 437.5 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1028, allocations: 54.67 kB / 437.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/0.1028, allocations: 32.84 kB / 437.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1029, allocations: 0 / 437.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.103, allocations: 67.33 kB / 437.7 MB, free: 1.609 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.103, allocations: 0 / 437.7 MB, free: 1.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000443/0.1035, allocations: 173.2 kB / 437.9 MB, free: 1.434 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.1035, allocations: 51.41 kB / 437.9 MB, free: 1.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1037, allocations: 178.2 kB / 438.1 MB, free: 1.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1037, allocations: 29.7 kB / 438.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.1037, allocations: 100 kB / 438.2 MB, free: 1.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.1038, allocations: 23.66 kB / 438.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.1038, allocations: 4 kB / 438.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.1039, allocations: 322.8 kB / 438.6 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.178e-05/0.1039, allocations: 19.98 kB / 438.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.104, allocations: 33.7 kB / 438.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.328e-05/0.1041, allocations: 28 kB / 438.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1041, allocations: 0 / 438.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001585/0.1042, allocations: 97.52 kB / 438.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1043, allocations: 11.95 kB / 438.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1043, allocations: 0 / 438.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.1043, allocations: 0 / 438.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.1044, allocations: 15.94 kB / 438.8 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1044, allocations: 4 kB / 438.8 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.1044, allocations: 12.02 kB / 438.8 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1045, allocations: 4 kB / 438.8 MB, free: 476 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 8.073e-05/0.1045, allocations: 118.9 kB / 438.9 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.1046, allocations: 7.906 kB / 438.9 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.1046, allocations: 20.66 kB / 438.9 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1046, allocations: 4 kB / 438.9 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1046, allocations: 0 / 438.9 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1046, allocations: 0 / 438.9 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.105, allocations: 399.4 kB / 439.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.105, allocations: 7.891 kB / 439.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.1051, allocations: 8 kB / 439.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1051, allocations: 0 / 439.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1051, allocations: 7.984 kB / 439.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1051, allocations: 0 / 439.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1051, allocations: 0 / 439.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.1053, allocations: 208.2 kB / 439.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.1054, allocations: 92.97 kB / 439.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.1054, allocations: 384 / 439.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.1055, allocations: 7.984 kB / 439.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.1055, allocations: 4 kB / 439.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1056, allocations: 4.188 kB / 439.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.443e-05/0.1057, allocations: 139.9 kB / 439.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1057, allocations: 7.938 kB / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1059, allocations: 20 kB / 439.8 MB, free: 15.32 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.0008841/0.1068, allocations: 464.6 kB / 440.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.107, allocations: 63.91 kB / 440.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.107, allocations: 0 / 440.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.74e-05/0.1071, allocations: 35.92 kB / 440.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.1074, allocations: 19.98 kB / 440.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.1077, allocations: 226.1 kB / 440.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.108, allocations: 0.7004 MB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.668e-05/0.108, allocations: 25.16 kB / 441.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.1081, allocations: 15.44 kB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1081, allocations: 4 kB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Templates: time 0.00382/0.1119, allocations: 1.591 MB / 442.9 MB, free: 12.16 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: