Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001338/0.001338, allocations: 177.3 kB / 15.94 MB, free: 228 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.297/1.297, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2814/0.2814, allocations: 40 MB / 310.4 MB, free: 10.01 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.2. 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.0005257/0.0005258, allocations: 23.98 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09936/0.09989, allocations: 57.95 MB / 436.8 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002042/0.102, allocations: 1.582 MB / 438.3 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1032, allocations: 0.7655 MB / 439.1 MB, free: 248 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1033, allocations: 4 kB / 439.1 MB, free: 244 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.1036, allocations: 35.77 kB / 439.1 MB, free: 208 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.1038, allocations: 43.89 kB / 439.2 MB, free: 164 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1041, allocations: 91.75 kB / 439.3 MB, free: 72 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.1043, allocations: 87.89 kB / 439.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1045, allocations: 29.45 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1046, allocations: 51.77 kB / 439.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.1047, allocations: 39.78 kB / 439.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1047, allocations: 0 / 439.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.359e-05/0.1048, allocations: 31.81 kB / 439.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.1048, allocations: 19.92 kB / 439.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.1049, allocations: 41.64 kB / 439.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1051, allocations: 108 kB / 439.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.1051, allocations: 4 kB / 439.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1051, allocations: 0 / 439.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1051, allocations: 0 / 439.7 MB, free: 15.66 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000571/0.1057, allocations: 472.3 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1057, allocations: 8.031 kB / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.1057, allocations: 19.81 kB / 440.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.106, allocations: 219.5 kB / 440.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.106, allocations: 11.94 kB / 440.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1061, allocations: 8 kB / 440.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.1063, allocations: 108 kB / 440.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.1063, allocations: 0 / 440.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1063, allocations: 4 kB / 440.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1063, allocations: 7.953 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1065, allocations: 51.91 kB / 440.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.1071, allocations: 0.5126 MB / 441.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.1074, allocations: 86.66 kB / 441.2 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1074, allocations: 0 / 441.2 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.1076, allocations: 91.31 kB / 441.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.1076, allocations: 0 / 441.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003804/0.108, allocations: 149.4 kB / 441.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.1081, allocations: 51.41 kB / 441.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1083, allocations: 191.5 kB / 441.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1083, allocations: 25.7 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.1084, allocations: 120 kB / 441.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.1084, allocations: 27.62 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.1084, allocations: 0 / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1085, allocations: 330.8 kB / 442.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.733e-05/0.1086, allocations: 24.11 kB / 442.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1087, allocations: 72.27 kB / 442.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.037e-05/0.1088, allocations: 40.31 kB / 442.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1088, allocations: 0 / 442.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000278/0.1091, allocations: 149.3 kB / 442.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1092, allocations: 7.938 kB / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1092, allocations: 0 / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1092, allocations: 4 kB / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1093, allocations: 23.98 kB / 442.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1093, allocations: 0 / 442.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.38e-05/0.1094, allocations: 23.86 kB / 442.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1094, allocations: 4 kB / 442.5 MB, free: 12.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.343e-05/0.1095, allocations: 125.9 kB / 442.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.1095, allocations: 19.77 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.505e-05/0.1096, allocations: 21.39 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1096, allocations: 0 / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.1096, allocations: 0 / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1096, allocations: 0 / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.1098, allocations: 205.8 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1098, allocations: 0 / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.764e-05/0.1099, allocations: 15.98 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.1099, allocations: 11.94 kB / 442.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1099, allocations: 4 kB / 442.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1099, allocations: 7.938 kB / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1099, allocations: 0 / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.1103, allocations: 184.8 kB / 443.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.1103, allocations: 96.88 kB / 443.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.1104, allocations: 7.953 kB / 443.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/0.1105, allocations: 15.98 kB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.1105, allocations: 4 kB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.1105, allocations: 0 / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1106, allocations: 141.2 kB / 443.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1106, allocations: 192 / 443.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1109, allocations: 27.98 kB / 443.3 MB, free: 11.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0008528/0.1117, allocations: 418.2 kB / 443.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.112, allocations: 79.84 kB / 443.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.112, allocations: 0 / 443.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1121, allocations: 44.34 kB / 443.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.1124, allocations: 32.17 kB / 443.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.1129, allocations: 301.5 kB / 444.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1132, allocations: 0.7162 MB / 444.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.768e-05/0.1133, allocations: 21.41 kB / 444.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.1133, allocations: 19.44 kB / 445 MB, free: 9.996 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1133, allocations: 0 / 445 MB, free: 9.996 MB / 382.1 MB Notification: Performance of Templates: time 0.004443/0.1178, allocations: 1.719 MB / 446.7 MB, free: 8.281 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) Environment - environmentSimulation: