Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007388/0.0007389, allocations: 91.14 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.005064/0.005064, allocations: 171 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.466/1.466, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.3341/0.3341, allocations: 38.03 MB / 308.8 MB, free: 10.39 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.00051/0.00051, allocations: 12.56 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1094, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.001849/0.1113, allocations: 1.393 MB / 436 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1124, allocations: 0.7806 MB / 436.7 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.203e-05/0.1125, allocations: 4 kB / 436.8 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.1128, allocations: 79.75 kB / 436.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.113, allocations: 67.8 kB / 436.9 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.1132, allocations: 75.84 kB / 437 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.1134, allocations: 103.7 kB / 437.1 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.1135, allocations: 12.22 kB / 437.1 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.1136, allocations: 47.77 kB / 437.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1137, allocations: 59.75 kB / 437.2 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1137, allocations: 3.938 kB / 437.2 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.632e-05/0.1138, allocations: 39.98 kB / 437.2 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.1139, allocations: 19.92 kB / 437.2 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.928e-05/0.1139, allocations: 57.44 kB / 437.3 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1141, allocations: 115.9 kB / 437.4 MB, free: 2.336 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1141, allocations: 4 kB / 437.4 MB, free: 2.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1141, allocations: 0 / 437.4 MB, free: 2.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1142, allocations: 0 / 437.4 MB, free: 2.332 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.0004981/0.1147, allocations: 407 kB / 437.8 MB, free: 1.887 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1147, allocations: 8.031 kB / 437.8 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.1148, allocations: 16.78 kB / 437.8 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.115, allocations: 216.7 kB / 438.1 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.115, allocations: 4.375 kB / 438.1 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.115, allocations: 8.125 kB / 438.1 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.1152, allocations: 53.67 kB / 438.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1152, allocations: 0 / 438.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1152, allocations: 0 / 438.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1152, allocations: 0 / 438.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.028e-05/0.1153, allocations: 19.98 kB / 438.1 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.1157, allocations: 296.8 kB / 438.4 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.1158, allocations: 54.67 kB / 438.5 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.1159, allocations: 24.86 kB / 438.5 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1159, allocations: 0 / 438.5 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.1161, allocations: 63.33 kB / 438.6 MB, free: 1.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1161, allocations: 0 / 438.6 MB, free: 1.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004823/0.1166, allocations: 185.1 kB / 438.7 MB, free: 0.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.1166, allocations: 51.41 kB / 438.8 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.1168, allocations: 218.2 kB / 439 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1168, allocations: 25.7 kB / 439 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.1169, allocations: 108.1 kB / 439.1 MB, free: 416 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.1169, allocations: 23.66 kB / 439.2 MB, free: 392 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.1169, allocations: 13.72 kB / 439.2 MB, free: 372 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.117, allocations: 330.8 kB / 439.5 MB, free: 32 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.1171, allocations: 23.98 kB / 439.5 MB, free: 8 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-05/0.1172, allocations: 37.64 kB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.1173, allocations: 61.64 kB / 439.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1173, allocations: 192 / 439.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001595/0.1175, allocations: 97.58 kB / 439.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1175, allocations: 15.97 kB / 439.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1175, allocations: 0 / 439.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.1175, allocations: 0 / 439.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.1176, allocations: 19.92 kB / 439.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1176, allocations: 4 kB / 439.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.092e-05/0.1177, allocations: 3.938 kB / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1177, allocations: 4.375 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 8.379e-05/0.1178, allocations: 129.8 kB / 439.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.1178, allocations: 11.81 kB / 439.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.1178, allocations: 25.39 kB / 439.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1178, allocations: 0 / 439.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1178, allocations: 4 kB / 439.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.1179, allocations: 3.938 kB / 439.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.1182, allocations: 391.3 kB / 440.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1182, allocations: 0 / 440.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.1183, allocations: 11.98 kB / 440.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1183, allocations: 4 kB / 440.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1183, allocations: 11.97 kB / 440.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1183, allocations: 3.938 kB / 440.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1183, allocations: 0 / 440.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.1185, allocations: 204.4 kB / 440.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.1186, allocations: 89 kB / 440.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1186, allocations: 7.938 kB / 440.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.1187, allocations: 8 kB / 440.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.1187, allocations: 3.984 kB / 440.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.1187, allocations: 11.98 kB / 440.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.1188, allocations: 156.2 kB / 440.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1188, allocations: 0 / 440.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1191, allocations: 24 kB / 440.8 MB, free: 14.56 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.0009374/0.12, allocations: 471.6 kB / 441.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.1202, allocations: 59.97 kB / 441.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1202, allocations: 0 / 441.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.221e-05/0.1203, allocations: 27.92 kB / 441.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.1206, allocations: 28.05 kB / 441.4 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.121, allocations: 270.1 kB / 441.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.1213, allocations: 0.7083 MB / 442.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.933e-05/0.1213, allocations: 25.11 kB / 442.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.1213, allocations: 15.44 kB / 442.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1214, allocations: 0 / 442.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of Templates: time 0.003743/0.1251, allocations: 1.631 MB / 444.1 MB, free: 11.31 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) Environment - environmentSimulation: