Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01025/0.01025, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002188/0.002189, allocations: 202.1 kB / 16.68 MB, free: 5.969 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.771/1.771, allocations: 205.1 MB / 222.6 MB, free: 4.34 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.4375/0.4375, allocations: 37.99 MB / 307.9 MB, free: 10.35 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.001424/0.001424, allocations: 72.45 kB / 433 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3848, allocations: 56.47 MB / 489.5 MB, free: 20.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003774/0.3887, allocations: 1.759 MB / 491.3 MB, free: 18.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.3904, allocations: 0.8806 MB / 492.2 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.3906, allocations: 1.75 kB / 492.2 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007226/0.3913, allocations: 303 kB / 492.4 MB, free: 18.19 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.3918, allocations: 204.7 kB / 492.6 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.3922, allocations: 136.1 kB / 492.8 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.3925, allocations: 239.3 kB / 493 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.764e-05/0.3926, allocations: 14.59 kB / 493 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.3928, allocations: 127.7 kB / 493.2 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.3931, allocations: 185.3 kB / 493.3 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.3932, allocations: 5.656 kB / 493.3 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.3933, allocations: 49.8 kB / 493.4 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.3935, allocations: 126.8 kB / 493.5 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.3937, allocations: 151.4 kB / 493.7 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.3942, allocations: 356.6 kB / 494 MB, free: 17.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3942, allocations: 3.938 kB / 494 MB, free: 17.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3942, allocations: 0 / 494 MB, free: 17.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3942, allocations: 0 / 494 MB, free: 17.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001073/0.3953, allocations: 0.7336 MB / 494.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.3954, allocations: 12.17 kB / 494.8 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.3955, allocations: 55.7 kB / 494.8 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.3962, allocations: 448.9 kB / 495.3 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3962, allocations: 2.078 kB / 495.3 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.3962, allocations: 11.92 kB / 495.3 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.3965, allocations: 78.42 kB / 495.3 MB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3965, allocations: 0 / 495.3 MB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.3965, allocations: 9.828 kB / 495.4 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.3965, allocations: 1.156 kB / 495.4 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.3967, allocations: 38.14 kB / 495.4 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.3972, allocations: 372.2 kB / 495.8 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.3976, allocations: 106.3 kB / 495.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3977, allocations: 46.36 kB / 495.9 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3977, allocations: 3.172 kB / 495.9 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.398, allocations: 103.6 kB / 496 MB, free: 16.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.398, allocations: 1 kB / 496 MB, free: 16.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005736/0.3986, allocations: 206.5 kB / 496.2 MB, free: 16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.3986, allocations: 79.42 kB / 496.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.4001, allocations: 1.006 MB / 497.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.4002, allocations: 27.05 kB / 497.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.4004, allocations: 227.1 kB / 497.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.4004, allocations: 36.14 kB / 497.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.4005, allocations: 27.95 kB / 497.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4007, allocations: 374.8 kB / 498 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.363e-05/0.4008, allocations: 27.02 kB / 498 MB, free: 14.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.723e-05/0.4009, allocations: 56.92 kB / 498.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.401, allocations: 91.66 kB / 498.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4011, allocations: 0 / 498.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003127/0.4014, allocations: 168.2 kB / 498.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.4014, allocations: 5.5 kB / 498.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4014, allocations: 1.375 kB / 498.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.4014, allocations: 2.219 kB / 498.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.4016, allocations: 28.34 kB / 498.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4016, allocations: 2.609 kB / 498.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.737e-05/0.4017, allocations: 10.83 kB / 498.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4017, allocations: 4.828 kB / 498.4 MB, free: 14.74 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000248/0.402, allocations: 225 kB / 498.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.4021, allocations: 54.03 kB / 498.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.4022, allocations: 61.31 kB / 498.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4022, allocations: 5.125 kB / 498.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.4022, allocations: 1.188 kB / 498.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.4022, allocations: 2.094 kB / 498.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.4027, allocations: 339.2 kB / 499 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4027, allocations: 4 kB / 499 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.4028, allocations: 8.312 kB / 499 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.4028, allocations: 5.312 kB / 499 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.4028, allocations: 2.625 kB / 499.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4028, allocations: 1.797 kB / 499.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4028, allocations: 1.281 kB / 499.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.4032, allocations: 208.7 kB / 499.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.4033, allocations: 138.1 kB / 499.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.4034, allocations: 2.016 kB / 499.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.4035, allocations: 5.984 kB / 499.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.4036, allocations: 10.98 kB / 499.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.4036, allocations: 10.33 kB / 499.4 MB, free: 14.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001029/0.4046, allocations: 0.7457 MB / 0.4884 GB, free: 13.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4046, allocations: 0 / 0.4884 GB, free: 13.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.4049, allocations: 41.3 kB / 0.4885 GB, free: 13.75 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001079/0.406, allocations: 439.2 kB / 0.4889 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.4063, allocations: 82.16 kB / 0.489 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4063, allocations: 0 / 0.489 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.4065, allocations: 39.75 kB / 0.489 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.407, allocations: 73.16 kB / 0.4891 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.4085, allocations: 0.8524 MB / 0.4899 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.4089, allocations: 0.8358 MB / 0.4907 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.4091, allocations: 55 kB / 0.4908 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.4091, allocations: 33.22 kB / 0.4908 GB, free: 12.22 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4092, allocations: 0 / 0.4908 GB, free: 12.22 MB / 382.1 MB Notification: Performance of Templates: time 0.01067/0.4198, allocations: 3.695 MB / 0.4944 GB, free: 11.53 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)