Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008854/0.008855, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001492/0.001492, allocations: 188.9 kB / 16.67 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.657/1.657, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3222/0.3222, allocations: 39.95 MB / 309.8 MB, free: 9.398 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.001629/0.001629, allocations: 71.91 kB / 435.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3854, allocations: 56.87 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003893/0.3894, allocations: 1.69 MB / 494.4 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.3908, allocations: 0.8051 MB / 495.2 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.391, allocations: 5.344 kB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.3913, allocations: 50.78 kB / 495.3 MB, free: 17.71 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.0002723/0.3916, allocations: 58.48 kB / 495.3 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.3919, allocations: 79.92 kB / 495.4 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.3922, allocations: 99.36 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3923, allocations: 21.22 kB / 495.5 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.785e-05/0.3924, allocations: 36.27 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.3925, allocations: 39.28 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.3925, allocations: 3.531 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.3926, allocations: 37.27 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.886e-05/0.3927, allocations: 28.83 kB / 495.7 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.095e-05/0.3928, allocations: 38.2 kB / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.3931, allocations: 137.2 kB / 495.8 MB, free: 17.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3931, allocations: 0 / 495.8 MB, free: 17.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.3931, allocations: 0 / 495.8 MB, free: 17.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3931, allocations: 5.938 kB / 495.8 MB, free: 17.43 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.0007201/0.3938, allocations: 440.5 kB / 496.3 MB, free: 17.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3939, allocations: 13.27 kB / 496.3 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.394, allocations: 12.38 kB / 496.3 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.3944, allocations: 226.4 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.3944, allocations: 5.562 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.3944, allocations: 7.562 kB / 496.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.3946, allocations: 52.92 kB / 496.6 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3946, allocations: 4.938 kB / 496.6 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3946, allocations: 0.6562 kB / 496.6 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3947, allocations: 1.281 kB / 496.6 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.712e-05/0.3948, allocations: 22.12 kB / 496.6 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.3952, allocations: 293.2 kB / 496.9 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.3954, allocations: 60.23 kB / 497 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.3955, allocations: 20.66 kB / 497 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3955, allocations: 1.188 kB / 497 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.3957, allocations: 69.77 kB / 497 MB, free: 16.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/0.3957, allocations: 0 / 497 MB, free: 16.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006144/0.3963, allocations: 179.6 kB / 497.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.3964, allocations: 52.53 kB / 497.3 MB, free: 16.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.3966, allocations: 258.2 kB / 497.5 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.3967, allocations: 35.2 kB / 497.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.3967, allocations: 119.4 kB / 497.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.3968, allocations: 21.34 kB / 497.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.3968, allocations: 22.02 kB / 497.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.3969, allocations: 336.8 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.329e-05/0.397, allocations: 17.11 kB / 498.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.397, allocations: 40.97 kB / 498.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.3972, allocations: 61.34 kB / 498.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.3972, allocations: 0 / 498.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.3974, allocations: 103.1 kB / 498.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3974, allocations: 13.42 kB / 498.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3974, allocations: 1.312 kB / 498.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.3974, allocations: 1.656 kB / 498.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3975, allocations: 14.42 kB / 498.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3976, allocations: 2.188 kB / 498.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.3976, allocations: 14.66 kB / 498.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3976, allocations: 3.219 kB / 498.3 MB, free: 15.36 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.0001199/0.3978, allocations: 134.2 kB / 498.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.3978, allocations: 18.62 kB / 498.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.558e-05/0.3979, allocations: 22.64 kB / 498.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3979, allocations: 1.312 kB / 498.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3979, allocations: 0 / 498.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3979, allocations: 4.641 kB / 498.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.3984, allocations: 406 kB / 498.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3984, allocations: 1.469 kB / 498.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.3984, allocations: 13.22 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3984, allocations: 1.438 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3985, allocations: 9 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3985, allocations: 1.828 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3985, allocations: 1.406 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.3987, allocations: 201.5 kB / 499.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.3988, allocations: 89.5 kB / 499.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.3988, allocations: 6.984 kB / 499.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.3989, allocations: 13.52 kB / 499.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.399, allocations: 6.547 kB / 499.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.399, allocations: 3.297 kB / 499.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.3992, allocations: 201.8 kB / 499.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3992, allocations: 0 / 499.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.3995, allocations: 27.42 kB / 499.5 MB, free: 14.44 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.001092/0.4006, allocations: 460.8 kB / 499.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.4008, allocations: 63.84 kB / 500 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4008, allocations: 1.438 kB / 500 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.4009, allocations: 29.08 kB / 500 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.0003992/0.4013, allocations: 38.03 kB / 0.4883 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/0.4019, allocations: 284 kB / 0.4886 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.4022, allocations: 0.7165 MB / 0.4893 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.573e-05/0.4023, allocations: 17.3 kB / 0.4893 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.4023, allocations: 24.33 kB / 0.4893 GB, free: 13.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4023, allocations: 0 / 0.4893 GB, free: 13.12 MB / 382.1 MB Notification: Performance of Templates: time 0.005617/0.4079, allocations: 1.756 MB / 0.491 GB, free: 12.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)