Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008295/0.008295, allocations: 103 kB / 15.73 MB, free: 6.035 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.001381/0.001381, allocations: 200.2 kB / 16.68 MB, free: 5.957 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.584/1.584, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.377/0.377, allocations: 39.95 MB / 309.8 MB, free: 9.578 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.001522/0.001522, allocations: 71.91 kB / 435.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3866, allocations: 56.87 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.004304/0.391, allocations: 1.692 MB / 494.4 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.3925, allocations: 0.8109 MB / 495.2 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.3925, allocations: 1.156 kB / 495.2 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.3929, allocations: 54.12 kB / 495.3 MB, free: 17.69 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.0002332/0.3932, allocations: 58.84 kB / 495.3 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.3934, allocations: 88.23 kB / 495.4 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.3937, allocations: 91.19 kB / 495.5 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.3939, allocations: 15.59 kB / 495.5 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.394, allocations: 49.86 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.3942, allocations: 27.55 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.3942, allocations: 2.719 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.3944, allocations: 46.52 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.3945, allocations: 24.81 kB / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.791e-05/0.3946, allocations: 41.08 kB / 495.7 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.3949, allocations: 128.5 kB / 495.8 MB, free: 17.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.3949, allocations: 5.188 kB / 495.8 MB, free: 17.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.3949, allocations: 4.547 kB / 495.8 MB, free: 17.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3949, allocations: 0 / 495.8 MB, free: 17.41 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.0007987/0.3957, allocations: 442.8 kB / 496.3 MB, free: 16.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.3958, allocations: 13.27 kB / 496.3 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.3959, allocations: 14.98 kB / 496.3 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.3963, allocations: 221.8 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3963, allocations: 2.031 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3963, allocations: 11.02 kB / 496.5 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3965, allocations: 54.94 kB / 496.6 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3965, allocations: 3.906 kB / 496.6 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3965, allocations: 8.594 kB / 496.6 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3965, allocations: 1.5 kB / 496.6 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.044e-05/0.3966, allocations: 17.91 kB / 496.6 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.397, allocations: 296.6 kB / 496.9 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.3972, allocations: 53.36 kB / 497 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.3972, allocations: 24.66 kB / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.3973, allocations: 0 / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.3974, allocations: 74.78 kB / 497.1 MB, free: 16.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3975, allocations: 0 / 497.1 MB, free: 16.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005811/0.398, allocations: 183 kB / 497.2 MB, free: 16.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.3981, allocations: 52.47 kB / 497.3 MB, free: 16.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.3983, allocations: 258.5 kB / 497.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.3984, allocations: 27.11 kB / 497.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.3984, allocations: 123.3 kB / 497.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.3985, allocations: 22.5 kB / 497.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.3985, allocations: 25.55 kB / 497.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.3986, allocations: 327.9 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.3987, allocations: 22.78 kB / 498.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.376e-05/0.3987, allocations: 35.69 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.3988, allocations: 61 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3989, allocations: 4 kB / 498.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001893/0.399, allocations: 106.1 kB / 498.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3991, allocations: 6.969 kB / 498.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3991, allocations: 0 / 498.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3991, allocations: 1.312 kB / 498.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3992, allocations: 14.78 kB / 498.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3992, allocations: 2.203 kB / 498.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.3993, allocations: 15.22 kB / 498.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.3993, allocations: 3.734 kB / 498.3 MB, free: 15.33 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.613e-05/0.3994, allocations: 136.5 kB / 498.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.3995, allocations: 14.44 kB / 498.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.3995, allocations: 18.77 kB / 498.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3995, allocations: 5.688 kB / 498.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3995, allocations: 0.6094 kB / 498.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3995, allocations: 4.641 kB / 498.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.4, allocations: 393.7 kB / 498.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4, allocations: 8.625 kB / 498.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.4001, allocations: 13.14 kB / 498.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4001, allocations: 1.344 kB / 498.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.4001, allocations: 5.781 kB / 498.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4001, allocations: 1.906 kB / 498.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4001, allocations: 1.344 kB / 498.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.4004, allocations: 206.6 kB / 499.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.4004, allocations: 92.17 kB / 499.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.4004, allocations: 8.312 kB / 499.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.4005, allocations: 2.047 kB / 499.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.4006, allocations: 13.7 kB / 499.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.4006, allocations: 11.45 kB / 499.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.4008, allocations: 193.8 kB / 499.4 MB, free: 14.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4008, allocations: 0 / 499.4 MB, free: 14.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.4011, allocations: 26.22 kB / 499.5 MB, free: 14.41 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.001103/0.4022, allocations: 473.5 kB / 499.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.4024, allocations: 56.69 kB / 500 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4024, allocations: 4 kB / 500 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.723e-05/0.4025, allocations: 32.25 kB / 0.4883 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.4029, allocations: 35.84 kB / 0.4883 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.4035, allocations: 284 kB / 0.4886 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.4038, allocations: 0.7169 MB / 0.4893 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.887e-05/0.4038, allocations: 21.41 kB / 0.4893 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.4039, allocations: 15.3 kB / 0.4893 GB, free: 13.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4039, allocations: 5.188 kB / 0.4893 GB, free: 13.08 MB / 382.1 MB Notification: Performance of Templates: time 0.005822/0.4097, allocations: 1.751 MB / 0.491 GB, free: 12.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)