Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006344/0.006344, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001216/0.001216, allocations: 196.8 kB / 16.68 MB, free: 5.977 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.579/1.579, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3628/0.3628, allocations: 37.99 MB / 307.9 MB, free: 10.07 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.001817/0.001817, allocations: 75.91 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3847, allocations: 56.46 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.004595/0.3894, allocations: 1.678 MB / 491.2 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.3911, allocations: 0.8035 MB / 492 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.3912, allocations: 1.375 kB / 492 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005161/0.3918, allocations: 49.94 kB / 492 MB, free: 18.24 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.0004242/0.3923, allocations: 50.97 kB / 492.1 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.3927, allocations: 83.44 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.393, allocations: 95.78 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.3932, allocations: 11.39 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.3933, allocations: 45.66 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.3935, allocations: 25.72 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.3935, allocations: 7.688 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.3937, allocations: 47.14 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.373e-05/0.3938, allocations: 19.39 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.594e-05/0.3939, allocations: 37.59 kB / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.3943, allocations: 118.1 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.3943, allocations: 0 / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3943, allocations: 1.156 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.3943, allocations: 0 / 492.6 MB, free: 17.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006359/0.395, allocations: 420.8 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.395, allocations: 16.55 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.3951, allocations: 9.578 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.3954, allocations: 211.7 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.3955, allocations: 2.234 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.3955, allocations: 10.41 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.3957, allocations: 58.19 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3957, allocations: 1.219 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3957, allocations: 0.75 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3957, allocations: 1.125 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.3958, allocations: 21.53 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.3962, allocations: 283.1 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.3964, allocations: 61.02 kB / 493.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.3965, allocations: 20.58 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.3965, allocations: 4.562 kB / 493.7 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.3967, allocations: 69.88 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3967, allocations: 0 / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005996/0.3973, allocations: 177.2 kB / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.3973, allocations: 53.34 kB / 494 MB, free: 16.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.3975, allocations: 197.6 kB / 494.2 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.3976, allocations: 27.31 kB / 494.2 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.3976, allocations: 113.4 kB / 494.3 MB, free: 16.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.3977, allocations: 24.7 kB / 494.3 MB, free: 16.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.3977, allocations: 23.73 kB / 494.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.3978, allocations: 325.1 kB / 494.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.3978, allocations: 22.02 kB / 494.7 MB, free: 16.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.43e-05/0.3979, allocations: 39.86 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.398, allocations: 56.77 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.398, allocations: 1.125 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.3982, allocations: 105 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3983, allocations: 5.438 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3983, allocations: 1.266 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3983, allocations: 1.375 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.3984, allocations: 14.83 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3984, allocations: 5.797 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/0.3985, allocations: 14.83 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3985, allocations: 6.688 kB / 494.9 MB, free: 15.96 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.711e-05/0.3986, allocations: 126.9 kB / 495.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.3986, allocations: 10.3 kB / 495.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.3987, allocations: 15.42 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3987, allocations: 5.297 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3987, allocations: 1.438 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3987, allocations: 4.828 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.3991, allocations: 398.4 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3991, allocations: 1 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.3992, allocations: 9.422 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3992, allocations: 1.188 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3992, allocations: 10.23 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3992, allocations: 1.281 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3992, allocations: 0 / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.3994, allocations: 209 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.3995, allocations: 89.98 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.3995, allocations: 9.812 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.3996, allocations: 6.703 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.3996, allocations: 6.062 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.3997, allocations: 4.562 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.3998, allocations: 156 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3998, allocations: 0 / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.4001, allocations: 29.03 kB / 496 MB, free: 15.05 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.00113/0.4012, allocations: 458.5 kB / 496.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.4014, allocations: 68.77 kB / 496.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4015, allocations: 0 / 496.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.4015, allocations: 32.36 kB / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.4019, allocations: 27.06 kB / 496.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005708/0.4025, allocations: 229.6 kB / 496.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.4028, allocations: 0.7075 MB / 497.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.707e-05/0.4029, allocations: 21.53 kB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.4029, allocations: 15.95 kB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4029, allocations: 0 / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Templates: time 0.005918/0.4088, allocations: 1.707 MB / 499.3 MB, free: 13.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)