Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008761/0.008761, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.00147/0.00147, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.585/1.585, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.4041/0.4041, allocations: 39.95 MB / 309.8 MB, free: 9.457 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.001973/0.001973, allocations: 76.45 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3822, allocations: 56.87 MB / 492.7 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003198/0.3855, allocations: 1.692 MB / 494.4 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3868, allocations: 0.8015 MB / 495.2 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.923e-05/0.3869, allocations: 1.062 kB / 495.2 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.3874, allocations: 82.08 kB / 495.3 MB, free: 17.76 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.0002861/0.3877, allocations: 76.97 kB / 495.4 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.388, allocations: 84.88 kB / 495.5 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.3883, allocations: 105.9 kB / 495.6 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.3884, allocations: 19.41 kB / 495.6 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3885, allocations: 55.91 kB / 495.6 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.3887, allocations: 53.92 kB / 495.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.3887, allocations: 6.75 kB / 495.7 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.3888, allocations: 42.91 kB / 495.7 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.439e-05/0.3889, allocations: 24.34 kB / 495.8 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.389, allocations: 37.66 kB / 495.8 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.3893, allocations: 117.6 kB / 495.9 MB, free: 17.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3893, allocations: 4.562 kB / 495.9 MB, free: 17.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3893, allocations: 1.812 kB / 495.9 MB, free: 17.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.3893, allocations: 0 / 495.9 MB, free: 17.48 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.0005854/0.3899, allocations: 423.2 kB / 496.3 MB, free: 17.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3899, allocations: 13.7 kB / 496.3 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.39, allocations: 13.59 kB / 496.4 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.3903, allocations: 214.1 kB / 496.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3903, allocations: 384 / 496.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.3904, allocations: 6.844 kB / 496.6 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.3905, allocations: 58.38 kB / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3906, allocations: 0 / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3906, allocations: 1.281 kB / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3906, allocations: 0.8438 kB / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.375e-05/0.3907, allocations: 26.45 kB / 496.7 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.3911, allocations: 289.4 kB / 496.9 MB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.3912, allocations: 63.83 kB / 497 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.3913, allocations: 20.66 kB / 497 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.3913, allocations: 0 / 497 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.3915, allocations: 69.11 kB / 497.1 MB, free: 16.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3915, allocations: 1.562 kB / 497.1 MB, free: 16.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005743/0.3921, allocations: 177.1 kB / 497.3 MB, free: 16.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.3921, allocations: 57.2 kB / 497.3 MB, free: 16.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.3924, allocations: 214.9 kB / 497.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3924, allocations: 26.45 kB / 497.6 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.3924, allocations: 105.5 kB / 497.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.3925, allocations: 25.41 kB / 497.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.3925, allocations: 21.77 kB / 497.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.3926, allocations: 330.8 kB / 498 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/0.3927, allocations: 22.44 kB / 498 MB, free: 15.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.816e-05/0.3927, allocations: 37.95 kB / 498.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.3929, allocations: 66.02 kB / 498.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.3929, allocations: 0 / 498.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000187/0.3931, allocations: 99.3 kB / 498.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3931, allocations: 5.25 kB / 498.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3931, allocations: 4.734 kB / 498.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3931, allocations: 1.438 kB / 498.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3932, allocations: 18.78 kB / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3933, allocations: 2.625 kB / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.082e-05/0.3933, allocations: 10.06 kB / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.3933, allocations: 3.094 kB / 498.3 MB, free: 15.45 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 9.345e-05/0.3934, allocations: 128.1 kB / 498.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.3935, allocations: 9.25 kB / 498.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.3935, allocations: 16.8 kB / 498.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3935, allocations: 5.406 kB / 498.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3935, allocations: 0.6094 kB / 498.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3935, allocations: 4.781 kB / 498.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.394, allocations: 400.1 kB / 498.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.394, allocations: 0.7031 kB / 498.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.3941, allocations: 9.188 kB / 498.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.3941, allocations: 2.219 kB / 498.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3941, allocations: 13.88 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3941, allocations: 4.031 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3941, allocations: 1.25 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.3943, allocations: 198 kB / 499.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.3944, allocations: 89.86 kB / 499.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.3944, allocations: 5.344 kB / 499.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.3945, allocations: 3.25 kB / 499.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.3945, allocations: 13.44 kB / 499.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.3946, allocations: 4.703 kB / 499.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.3947, allocations: 155.3 kB / 499.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3947, allocations: 0 / 499.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.395, allocations: 22.7 kB / 499.4 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.00136/0.3964, allocations: 486.5 kB / 499.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.3967, allocations: 60.39 kB / 499.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3967, allocations: 0 / 499.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3969, allocations: 32.91 kB / 499.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.3973, allocations: 26.42 kB / 499.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007744/0.3981, allocations: 243.6 kB / 0.4885 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3985, allocations: 0.7043 MB / 0.4892 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.142e-05/0.3985, allocations: 13.69 kB / 0.4892 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.3986, allocations: 24.48 kB / 0.4892 GB, free: 13.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3986, allocations: 4 kB / 0.4892 GB, free: 13.25 MB / 382.1 MB Notification: Performance of Templates: time 0.006141/0.4047, allocations: 1.704 MB / 0.4909 GB, free: 13.06 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)