Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009084/0.009084, allocations: 101.8 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.001735/0.001735, allocations: 195.6 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.891/1.891, 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.3861/0.3861, allocations: 39.95 MB / 309.8 MB, free: 9.367 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.002691/0.002691, allocations: 71.89 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3893, allocations: 56.87 MB / 492.7 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003585/0.393, allocations: 1.79 MB / 494.5 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.3947, allocations: 0.8798 MB / 495.4 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.981e-05/0.3948, allocations: 6.25 kB / 495.4 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.3956, allocations: 302.4 kB / 495.7 MB, free: 17.56 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.000535/0.3961, allocations: 213.8 kB / 495.9 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.3965, allocations: 135.5 kB / 496 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.3969, allocations: 242 kB / 496.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.875e-05/0.397, allocations: 21.91 kB / 496.3 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.3973, allocations: 134.2 kB / 496.4 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.3976, allocations: 193.9 kB / 496.6 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.3977, allocations: 5.844 kB / 496.6 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.3978, allocations: 40.53 kB / 496.6 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.398, allocations: 140 kB / 496.8 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.3982, allocations: 145.6 kB / 496.9 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005356/0.3987, allocations: 367.3 kB / 497.3 MB, free: 16.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3988, allocations: 1.281 kB / 497.3 MB, free: 16.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3988, allocations: 0 / 497.3 MB, free: 16.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.3988, allocations: 4 kB / 497.3 MB, free: 16.93 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.001146/0.3999, allocations: 0.7279 MB / 498 MB, free: 16.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.4, allocations: 12.23 kB / 498 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.584e-05/0.4001, allocations: 47.09 kB / 498.1 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007236/0.4008, allocations: 456 kB / 498.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.4009, allocations: 3.812 kB / 498.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.4009, allocations: 7.531 kB / 498.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.4011, allocations: 87.22 kB / 498.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4012, allocations: 3.938 kB / 498.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.4012, allocations: 0.5625 kB / 498.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4012, allocations: 1.438 kB / 498.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.4013, allocations: 30.62 kB / 498.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.4018, allocations: 376.4 kB / 499 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.4022, allocations: 110 kB / 499.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.4023, allocations: 44.16 kB / 499.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.4023, allocations: 0 / 499.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.4026, allocations: 114.2 kB / 499.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.4026, allocations: 0 / 499.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006121/0.4032, allocations: 198.6 kB / 499.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.4033, allocations: 78.8 kB / 499.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.4048, allocations: 1.032 MB / 0.4888 GB, free: 14.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.4049, allocations: 35.52 kB / 0.4889 GB, free: 14.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.4051, allocations: 232.9 kB / 0.4891 GB, free: 14.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.4051, allocations: 28.52 kB / 0.4891 GB, free: 14.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.4052, allocations: 27.09 kB / 0.4892 GB, free: 14.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4054, allocations: 366.8 kB / 0.4895 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.4055, allocations: 27.25 kB / 0.4895 GB, free: 14.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.4056, allocations: 64.67 kB / 0.4896 GB, free: 14.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.4057, allocations: 92.05 kB / 0.4897 GB, free: 14.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4057, allocations: 0 / 0.4897 GB, free: 14.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002754/0.406, allocations: 168.8 kB / 0.4898 GB, free: 14.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4061, allocations: 10.42 kB / 0.4899 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4061, allocations: 5.438 kB / 0.4899 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4061, allocations: 1.375 kB / 0.4899 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.4062, allocations: 20.92 kB / 0.4899 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.4062, allocations: 2.406 kB / 0.4899 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.4063, allocations: 9.156 kB / 0.4899 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.4064, allocations: 5.156 kB / 0.4899 GB, free: 14.09 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.0002357/0.4066, allocations: 226 kB / 0.4901 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.4067, allocations: 53.69 kB / 0.4902 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.609e-05/0.4068, allocations: 66.78 kB / 0.4902 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4068, allocations: 1.312 kB / 0.4902 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.4068, allocations: 1.312 kB / 0.4902 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4068, allocations: 1.5 kB / 0.4902 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.4072, allocations: 344 kB / 0.4906 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4072, allocations: 1.125 kB / 0.4906 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.4073, allocations: 8.281 kB / 0.4906 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.4073, allocations: 5.188 kB / 0.4906 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.4073, allocations: 2.5 kB / 0.4906 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4073, allocations: 1.219 kB / 0.4906 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4073, allocations: 1.75 kB / 0.4906 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.4077, allocations: 205.5 kB / 0.4908 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.4079, allocations: 138 kB / 0.4909 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.4079, allocations: 6.953 kB / 0.4909 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.408, allocations: 5.156 kB / 0.4909 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.4081, allocations: 10.53 kB / 0.4909 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.4081, allocations: 10.06 kB / 0.4909 GB, free: 13.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001053/0.4092, allocations: 0.7695 MB / 0.4917 GB, free: 13.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4092, allocations: 0 / 0.4917 GB, free: 13.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.4095, allocations: 45.5 kB / 0.4917 GB, free: 13.1 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.0009983/0.4105, allocations: 422.1 kB / 0.4921 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002803/0.4108, allocations: 81.2 kB / 0.4922 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4108, allocations: 4.125 kB / 0.4922 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.4109, allocations: 44.11 kB / 0.4923 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.4114, allocations: 84.73 kB / 0.4923 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.4129, allocations: 0.8595 MB / 0.4932 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.4133, allocations: 0.8437 MB / 0.494 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.4135, allocations: 52.92 kB / 0.4941 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.4136, allocations: 29.06 kB / 0.4941 GB, free: 11.57 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4136, allocations: 0 / 0.4941 GB, free: 11.57 MB / 382.1 MB Notification: Performance of Templates: time 0.009978/0.4236, allocations: 3.839 MB / 0.4978 GB, free: 9.945 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)