Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008594/0.0008594, allocations: 90.67 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.005451/0.005451, allocations: 171.1 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.517/1.517, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.2791/0.2791, allocations: 38.04 MB / 308.8 MB, free: 10.43 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.0005274/0.0005274, allocations: 20 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09752, allocations: 57.52 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.001856/0.09944, allocations: 1.385 MB / 436 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1005, allocations: 0.7884 MB / 436.7 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.1006, allocations: 0 / 436.7 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.1009, allocations: 71.77 kB / 436.8 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.1011, allocations: 71.78 kB / 436.9 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.1013, allocations: 79.8 kB / 437 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.1014, allocations: 103.7 kB / 437.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.565e-05/0.1015, allocations: 20.2 kB / 437.1 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.504e-05/0.1016, allocations: 51.7 kB / 437.1 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/0.1017, allocations: 47.78 kB / 437.2 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1017, allocations: 4 kB / 437.2 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-05/0.1018, allocations: 43.97 kB / 437.2 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/0.1019, allocations: 19.92 kB / 437.3 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.1019, allocations: 61.44 kB / 437.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1021, allocations: 111.9 kB / 437.4 MB, free: 2.348 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1021, allocations: 8 kB / 437.4 MB, free: 2.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1021, allocations: 0 / 437.4 MB, free: 2.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1021, allocations: 0 / 437.4 MB, free: 2.34 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.000443/0.1026, allocations: 407 kB / 437.8 MB, free: 1.895 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.1026, allocations: 8.031 kB / 437.8 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.1027, allocations: 12.84 kB / 437.8 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1028, allocations: 212.7 kB / 438.1 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1029, allocations: 4.375 kB / 438.1 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.1029, allocations: 12.12 kB / 438.1 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.103, allocations: 53.67 kB / 438.1 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.103, allocations: 0 / 438.1 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1031, allocations: 3.984 kB / 438.1 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1031, allocations: 0 / 438.1 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.457e-05/0.1031, allocations: 23.92 kB / 438.1 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.1035, allocations: 288.9 kB / 438.4 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.1036, allocations: 54.69 kB / 438.5 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.1037, allocations: 24.84 kB / 438.5 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1037, allocations: 0 / 438.5 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.1039, allocations: 67.33 kB / 438.6 MB, free: 1.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1039, allocations: 0 / 438.6 MB, free: 1.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004695/0.1044, allocations: 185.1 kB / 438.8 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.1044, allocations: 51.41 kB / 438.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1046, allocations: 218.3 kB / 439 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1046, allocations: 25.7 kB / 439 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.1047, allocations: 108.1 kB / 439.1 MB, free: 424 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1047, allocations: 27.64 kB / 439.2 MB, free: 396 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.1047, allocations: 9.719 kB / 439.2 MB, free: 380 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1049, allocations: 330.8 kB / 439.5 MB, free: 40 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.302e-05/0.1049, allocations: 23.98 kB / 439.5 MB, free: 16 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.548e-05/0.105, allocations: 45.66 kB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1051, allocations: 57.66 kB / 439.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1051, allocations: 0 / 439.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001716/0.1053, allocations: 97.58 kB / 439.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.1053, allocations: 4 kB / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1053, allocations: 4.031 kB / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1053, allocations: 0 / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.474e-05/0.1054, allocations: 27.92 kB / 439.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1054, allocations: 0 / 439.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.1055, allocations: 4.312 kB / 439.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1055, allocations: 4 kB / 439.8 MB, free: 15.75 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 0.0001018/0.1056, allocations: 129.8 kB / 439.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.1056, allocations: 11.81 kB / 439.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.1057, allocations: 17.41 kB / 439.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1057, allocations: 4 kB / 439.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1057, allocations: 7.984 kB / 439.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1057, allocations: 3.938 kB / 439.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.1061, allocations: 395.4 kB / 440.3 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1061, allocations: 4 kB / 440.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.1061, allocations: 4 kB / 440.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1062, allocations: 4 kB / 440.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1062, allocations: 11.86 kB / 440.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1062, allocations: 4.031 kB / 440.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1062, allocations: 4 kB / 440.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.1064, allocations: 208.2 kB / 440.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.1064, allocations: 85.02 kB / 440.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1065, allocations: 7.938 kB / 440.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.1065, allocations: 7.984 kB / 440.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.1066, allocations: 8 kB / 440.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1066, allocations: 0 / 440.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1067, allocations: 168.2 kB / 440.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1067, allocations: 0 / 440.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.107, allocations: 20 kB / 440.9 MB, free: 14.57 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.0008968/0.1079, allocations: 463.5 kB / 441.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.108, allocations: 55.97 kB / 441.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1081, allocations: 4 kB / 441.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.322e-05/0.1081, allocations: 27.92 kB / 441.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1085, allocations: 31.92 kB / 441.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.1089, allocations: 266.2 kB / 441.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.1091, allocations: 0.7122 MB / 442.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.994e-05/0.1092, allocations: 25.09 kB / 442.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.1092, allocations: 15.44 kB / 442.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1092, allocations: 0 / 442.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of Templates: time 0.003715/0.113, allocations: 1.616 MB / 444.1 MB, free: 11.33 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) Environment - environmentSimulation: