Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007618/0.007618, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.001733/0.001733, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.8/1.8, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.4127/0.4127, allocations: 39.95 MB / 309.8 MB, free: 9.305 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.00162/0.00162, allocations: 71.89 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4766/0.4782, allocations: 56.87 MB / 492.7 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004631/0.4829, allocations: 1.78 MB / 494.5 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.4848, allocations: 0.884 MB / 495.4 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.485, allocations: 1.156 kB / 495.4 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008452/0.4859, allocations: 294.5 kB / 495.7 MB, free: 17.51 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.0005335/0.4864, allocations: 212.9 kB / 495.9 MB, free: 17.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.4869, allocations: 143.3 kB / 496 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004413/0.4873, allocations: 233.2 kB / 496.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.4874, allocations: 13.89 kB / 496.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.4876, allocations: 131.3 kB / 496.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003159/0.488, allocations: 191 kB / 496.6 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.488, allocations: 5.562 kB / 496.6 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.4882, allocations: 45.34 kB / 496.6 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.4884, allocations: 124.5 kB / 496.7 MB, free: 17.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.4886, allocations: 150 kB / 496.9 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006802/0.4893, allocations: 359.8 kB / 497.2 MB, free: 16.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4893, allocations: 0 / 497.2 MB, free: 16.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.4893, allocations: 0 / 497.2 MB, free: 16.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.4893, allocations: 3.938 kB / 497.2 MB, free: 16.89 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001434/0.4908, allocations: 0.7203 MB / 498 MB, free: 16.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/0.4908, allocations: 12.67 kB / 498 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.491, allocations: 46.11 kB / 498 MB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/0.4918, allocations: 445 kB / 498.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.4919, allocations: 6.438 kB / 498.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.4919, allocations: 6.938 kB / 498.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.4922, allocations: 87.45 kB / 498.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.4922, allocations: 0.5625 kB / 498.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.4922, allocations: 1.469 kB / 498.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.4922, allocations: 2.234 kB / 498.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.4924, allocations: 33.23 kB / 498.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.493, allocations: 376.6 kB / 499 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.4934, allocations: 102 kB / 499.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.4935, allocations: 45.95 kB / 499.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.4935, allocations: 1.25 kB / 499.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/0.4938, allocations: 106 kB / 499.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.4938, allocations: 3.938 kB / 499.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005859/0.4944, allocations: 190.5 kB / 499.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.4945, allocations: 87.36 kB / 499.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.496, allocations: 1.017 MB / 0.4888 GB, free: 14.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.496, allocations: 27.67 kB / 0.4888 GB, free: 14.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.4961, allocations: 224 kB / 0.489 GB, free: 14.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.4962, allocations: 23.47 kB / 0.489 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.4963, allocations: 32.11 kB / 0.4891 GB, free: 14.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4964, allocations: 365 kB / 0.4894 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.679e-05/0.4965, allocations: 32.14 kB / 0.4894 GB, free: 14.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.3e-05/0.4966, allocations: 56.77 kB / 0.4895 GB, free: 14.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.4968, allocations: 92.55 kB / 0.4896 GB, free: 14.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4968, allocations: 0 / 0.4896 GB, free: 14.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003007/0.4971, allocations: 167.4 kB / 0.4897 GB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4971, allocations: 8.25 kB / 0.4897 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.4971, allocations: 3.984 kB / 0.4897 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.4972, allocations: 3.188 kB / 0.4898 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.4973, allocations: 24.34 kB / 0.4898 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4973, allocations: 1.375 kB / 0.4898 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.4974, allocations: 26.16 kB / 0.4898 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.4974, allocations: 4.156 kB / 0.4898 GB, free: 14.06 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002545/0.4977, allocations: 225.4 kB / 0.49 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.4978, allocations: 49.34 kB / 0.4901 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.4979, allocations: 57.86 kB / 0.4901 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4979, allocations: 2.828 kB / 0.4901 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.498, allocations: 0 / 0.4901 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.498, allocations: 5.312 kB / 0.4901 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.4985, allocations: 337.4 kB / 0.4905 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4985, allocations: 0 / 0.4905 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.4985, allocations: 11 kB / 0.4905 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4985, allocations: 9.375 kB / 0.4905 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.4986, allocations: 4.656 kB / 0.4905 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4986, allocations: 1.375 kB / 0.4905 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4986, allocations: 1.375 kB / 0.4905 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.499, allocations: 195.9 kB / 0.4907 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.4992, allocations: 138.7 kB / 0.4908 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.4993, allocations: 5.375 kB / 0.4908 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.4993, allocations: 14.73 kB / 0.4908 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.4994, allocations: 7.922 kB / 0.4908 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.4995, allocations: 4.125 kB / 0.4908 GB, free: 13.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001187/0.5006, allocations: 0.7478 MB / 0.4916 GB, free: 13.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5007, allocations: 1.375 kB / 0.4916 GB, free: 13.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003402/0.501, allocations: 40.83 kB / 0.4916 GB, free: 13.09 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001196/0.5022, allocations: 434.6 kB / 0.492 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003399/0.5026, allocations: 80.3 kB / 0.4921 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5026, allocations: 1.094 kB / 0.4921 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.5027, allocations: 35.55 kB / 0.4921 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.5033, allocations: 77.34 kB / 0.4922 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.5049, allocations: 0.8442 MB / 0.493 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.5053, allocations: 0.8365 MB / 0.4938 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.5054, allocations: 55.97 kB / 0.4939 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.918e-05/0.5055, allocations: 31.8 kB / 0.4939 GB, free: 11.57 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5055, allocations: 0 / 0.4939 GB, free: 11.57 MB / 382.1 MB Notification: Performance of Templates: time 0.01022/0.5158, allocations: 3.786 MB / 0.4976 GB, free: 9.996 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)