Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008657/0.008657, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001718/0.001718, allocations: 185.5 kB / 16.67 MB, free: 5.938 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.7/1.7, 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.3409/0.3409, allocations: 39.95 MB / 309.9 MB, free: 9.301 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.001729/0.001729, allocations: 67.91 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3881, allocations: 56.88 MB / 492.7 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003893/0.392, allocations: 1.689 MB / 494.4 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.3938, allocations: 0.8062 MB / 495.2 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3939, allocations: 5.031 kB / 495.2 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.3944, allocations: 97.69 kB / 495.3 MB, free: 17.73 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.0003/0.3948, allocations: 91.72 kB / 495.4 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.3951, allocations: 79.94 kB / 495.5 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.3953, allocations: 126.7 kB / 495.6 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3954, allocations: 11.42 kB / 495.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.3956, allocations: 60.09 kB / 495.7 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.3957, allocations: 64.52 kB / 495.7 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.3957, allocations: 3.969 kB / 495.7 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.3959, allocations: 43.61 kB / 495.8 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.396, allocations: 31.78 kB / 495.8 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.396, allocations: 42.77 kB / 495.9 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.3963, allocations: 142.2 kB / 496 MB, free: 17.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3963, allocations: 0 / 496 MB, free: 17.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3963, allocations: 0 / 496 MB, free: 17.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3963, allocations: 0 / 496 MB, free: 17.44 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005913/0.3969, allocations: 438.4 kB / 496.4 MB, free: 17.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.397, allocations: 12.08 kB / 496.4 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.3971, allocations: 15.89 kB / 496.5 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.3974, allocations: 236.9 kB / 496.7 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.3974, allocations: 5.781 kB / 496.7 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.3975, allocations: 15.8 kB / 496.7 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.3977, allocations: 57.28 kB / 496.8 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.3977, allocations: 5.828 kB / 496.8 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.3977, allocations: 0 / 496.8 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.3978, allocations: 0.875 kB / 496.8 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.3979, allocations: 26.22 kB / 496.8 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.3985, allocations: 309.9 kB / 497.1 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.3987, allocations: 73.05 kB / 497.2 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.53e-05/0.3988, allocations: 26.14 kB / 497.2 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.3989, allocations: 2.469 kB / 497.2 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.3991, allocations: 73.89 kB / 497.3 MB, free: 16.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.835e-06/0.3991, allocations: 4 kB / 497.3 MB, free: 16.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007032/0.3998, allocations: 207.7 kB / 497.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.3998, allocations: 52.62 kB / 497.5 MB, free: 16.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.4001, allocations: 243.8 kB / 497.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.4001, allocations: 31.05 kB / 497.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.4002, allocations: 112.6 kB / 497.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/0.4003, allocations: 33.45 kB / 497.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.4003, allocations: 23.02 kB / 498 MB, free: 15.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4004, allocations: 336.8 kB / 498.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.4005, allocations: 24.44 kB / 498.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.107e-05/0.4006, allocations: 42.27 kB / 498.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.4008, allocations: 67.16 kB / 498.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4008, allocations: 1.344 kB / 498.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002134/0.401, allocations: 121.4 kB / 498.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.401, allocations: 10.3 kB / 498.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.401, allocations: 1.5 kB / 498.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.401, allocations: 0 / 498.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4012, allocations: 17.12 kB / 498.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4012, allocations: 2.188 kB / 498.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.4012, allocations: 6.203 kB / 498.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.4013, allocations: 4.312 kB / 498.6 MB, free: 15.31 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 (11): * Single equations (assignments): 11 * 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.0001224/0.4014, allocations: 140.4 kB / 498.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.4014, allocations: 18.62 kB / 498.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.4015, allocations: 23.16 kB / 498.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4015, allocations: 1.094 kB / 498.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4015, allocations: 3.938 kB / 498.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4015, allocations: 3.938 kB / 498.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.4021, allocations: 422.5 kB / 499.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.4021, allocations: 0.6562 kB / 499.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.4021, allocations: 10.55 kB / 499.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4021, allocations: 1.656 kB / 499.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.4022, allocations: 10.48 kB / 499.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.4022, allocations: 1.656 kB / 499.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4022, allocations: 0 / 499.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.4025, allocations: 214.9 kB / 499.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.4026, allocations: 89.45 kB / 499.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.4026, allocations: 10.56 kB / 499.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.4027, allocations: 6.484 kB / 499.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.4027, allocations: 8.062 kB / 499.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.4028, allocations: 7.672 kB / 499.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.403, allocations: 187.5 kB / 499.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.403, allocations: 1.125 kB / 499.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.4033, allocations: 27.3 kB / 499.7 MB, free: 14.39 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 (9): * Single equations (assignments): 7 * 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.001209/0.4045, allocations: 479.1 kB / 0.4885 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.4048, allocations: 70.7 kB / 0.4886 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4048, allocations: 0 / 0.4886 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.405, allocations: 35.56 kB / 0.4886 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.4054, allocations: 35.62 kB / 0.4886 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006029/0.406, allocations: 283.9 kB / 0.4889 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.4062, allocations: 0.7126 MB / 0.4896 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.113e-05/0.4063, allocations: 19.84 kB / 0.4896 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/0.4064, allocations: 25.23 kB / 0.4896 GB, free: 13.05 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4064, allocations: 0 / 0.4896 GB, free: 13.05 MB / 382.1 MB Notification: Performance of Templates: time 0.006215/0.4126, allocations: 1.81 MB / 0.4914 GB, free: 12.85 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)