Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005341/0.005341, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001142/0.001142, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.58/1.58, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.4344/0.4344, allocations: 39.94 MB / 309.8 MB, free: 9.391 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.00192/0.00192, allocations: 71.91 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.4784, allocations: 56.88 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.005484/0.484, allocations: 1.65 MB / 494.4 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.4863, allocations: 0.779 MB / 495.2 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.4866, allocations: 7.938 kB / 495.2 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006196/0.4873, allocations: 84.81 kB / 495.2 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.0004604/0.4877, allocations: 75 kB / 495.3 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.4882, allocations: 86.58 kB / 495.4 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.4885, allocations: 103.3 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.186e-05/0.4886, allocations: 8.234 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.4888, allocations: 56.81 kB / 495.6 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.4889, allocations: 48.25 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.489, allocations: 7.672 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.4892, allocations: 25.11 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.486e-05/0.4893, allocations: 19.08 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.827e-05/0.4894, allocations: 37.31 kB / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.4897, allocations: 110.6 kB / 495.8 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4897, allocations: 1.562 kB / 495.8 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4898, allocations: 0 / 495.8 MB, free: 17.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.4898, allocations: 0 / 495.8 MB, free: 17.46 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007856/0.4906, allocations: 417.8 kB / 496.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.4906, allocations: 12.73 kB / 496.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.4907, allocations: 14.38 kB / 496.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.4911, allocations: 208.1 kB / 496.4 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.4911, allocations: 384 / 496.4 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.4911, allocations: 7.484 kB / 496.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.4913, allocations: 50.66 kB / 496.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4914, allocations: 3.938 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4914, allocations: 0 / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4914, allocations: 5.625 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.4915, allocations: 14.66 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.4917, allocations: 181.2 kB / 496.7 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.4919, allocations: 48.44 kB / 496.8 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.026e-05/0.492, allocations: 23.59 kB / 496.8 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.492, allocations: 9.312 kB / 496.8 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.4922, allocations: 72.86 kB / 496.9 MB, free: 16.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.4922, allocations: 0 / 496.9 MB, free: 16.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003246/0.4925, allocations: 96.52 kB / 497 MB, free: 16.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.4926, allocations: 53.17 kB / 497 MB, free: 16.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.4928, allocations: 214.2 kB / 497.2 MB, free: 16.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.4928, allocations: 25.7 kB / 497.2 MB, free: 16.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.4929, allocations: 108.4 kB / 497.3 MB, free: 16.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.4929, allocations: 11.81 kB / 497.4 MB, free: 16.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.493, allocations: 20.78 kB / 497.4 MB, free: 16.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.4931, allocations: 321.5 kB / 497.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.575e-05/0.4931, allocations: 18.61 kB / 497.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.926e-05/0.4932, allocations: 26.56 kB / 497.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.708e-05/0.4933, allocations: 46.64 kB / 497.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4933, allocations: 0 / 497.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001703/0.4935, allocations: 91.98 kB / 497.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4935, allocations: 6.266 kB / 497.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.4935, allocations: 1.375 kB / 497.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.4936, allocations: 0 / 497.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.4937, allocations: 11.95 kB / 497.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.4937, allocations: 0 / 497.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.4938, allocations: 7.531 kB / 497.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4938, allocations: 6.844 kB / 497.9 MB, free: 15.59 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 (7): * Single equations (assignments): 7 * 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.0001416/0.4939, allocations: 138.8 kB / 498 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.494, allocations: 12.94 kB / 498 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.494, allocations: 16.14 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.494, allocations: 1.094 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.494, allocations: 0.75 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.494, allocations: 1.156 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.4942, allocations: 191 kB / 498.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4942, allocations: 2.141 kB / 498.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.4942, allocations: 6.875 kB / 498.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4942, allocations: 1.984 kB / 498.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.4943, allocations: 1.344 kB / 498.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.4943, allocations: 4.75 kB / 498.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4943, allocations: 0 / 498.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.4945, allocations: 113.1 kB / 498.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.4945, allocations: 85.08 kB / 498.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.4946, allocations: 2.125 kB / 498.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.343e-05/0.4946, allocations: 6.188 kB / 498.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.4947, allocations: 11.7 kB / 498.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.4947, allocations: 3.109 kB / 498.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.4948, allocations: 156.2 kB / 498.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4948, allocations: 1.156 kB / 498.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.4951, allocations: 13.17 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001013/0.4961, allocations: 415.2 kB / 499.1 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.4963, allocations: 41.58 kB / 499.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4963, allocations: 0 / 499.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.353e-05/0.4964, allocations: 26.03 kB / 499.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.4967, allocations: 34.16 kB / 499.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.4973, allocations: 216.5 kB / 499.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.4975, allocations: 0.7062 MB / 0.4884 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.162e-05/0.4975, allocations: 10.22 kB / 0.4884 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.4976, allocations: 15.05 kB / 0.4884 GB, free: 13.7 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4976, allocations: 3.938 kB / 0.4884 GB, free: 13.7 MB / 382.1 MB Notification: Performance of Templates: time 0.005244/0.5028, allocations: 1.505 MB / 0.4899 GB, free: 13.51 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1)