Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008544/0.008544, allocations: 101.9 kB / 15.73 MB, free: 6 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.001324/0.001324, allocations: 196.3 kB / 16.68 MB, free: 5.926 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.647/1.647, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.3583/0.3583, allocations: 39.94 MB / 309.8 MB, free: 9.43 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.001669/0.001669, allocations: 71.91 kB / 435.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4005, allocations: 56.86 MB / 492.7 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003526/0.4041, allocations: 1.698 MB / 494.4 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.4055, allocations: 0.8112 MB / 495.2 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.513e-05/0.4056, allocations: 1.125 kB / 495.2 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.406, allocations: 53.98 kB / 495.3 MB, free: 17.72 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.0002302/0.4062, allocations: 58.42 kB / 495.3 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.4065, allocations: 80.25 kB / 495.4 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.4067, allocations: 96.41 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.4068, allocations: 22.97 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.719e-05/0.4069, allocations: 42.64 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.46e-05/0.407, allocations: 32.88 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.407, allocations: 3.719 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.4071, allocations: 43.28 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.4072, allocations: 23.17 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.084e-05/0.4073, allocations: 47.59 kB / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.4075, allocations: 127.6 kB / 495.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4076, allocations: 5.906 kB / 495.8 MB, free: 17.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4076, allocations: 0 / 495.8 MB, free: 17.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.4076, allocations: 0 / 495.8 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005502/0.4081, allocations: 445.4 kB / 496.3 MB, free: 17.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4082, allocations: 13.39 kB / 496.3 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.4082, allocations: 11.94 kB / 496.3 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.4085, allocations: 226.8 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.4085, allocations: 2.438 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.4086, allocations: 9.312 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.4087, allocations: 50.36 kB / 496.6 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4088, allocations: 5.469 kB / 496.6 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4088, allocations: 4.609 kB / 496.6 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4088, allocations: 0 / 496.6 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.4089, allocations: 22.16 kB / 496.6 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.4093, allocations: 293.7 kB / 496.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.4095, allocations: 56.45 kB / 497 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.469e-05/0.4095, allocations: 19.59 kB / 497 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.4096, allocations: 5.969 kB / 497 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.4097, allocations: 70.08 kB / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.4097, allocations: 0 / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000638/0.4104, allocations: 182.5 kB / 497.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.4104, allocations: 54.22 kB / 497.3 MB, free: 16.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.4107, allocations: 258.4 kB / 497.5 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.4108, allocations: 26.45 kB / 497.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.4108, allocations: 122.8 kB / 497.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.4109, allocations: 22.48 kB / 497.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.4109, allocations: 25.38 kB / 497.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.411, allocations: 329.2 kB / 498.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.054e-05/0.4111, allocations: 22.08 kB / 498.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/0.4112, allocations: 35.56 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.4113, allocations: 61.33 kB / 498.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4113, allocations: 5.281 kB / 498.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001832/0.4115, allocations: 105.5 kB / 498.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4115, allocations: 5.156 kB / 498.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4115, allocations: 1.688 kB / 498.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4115, allocations: 0.75 kB / 498.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.983e-05/0.4116, allocations: 15.8 kB / 498.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4116, allocations: 0.9375 kB / 498.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.4117, allocations: 11.55 kB / 498.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.4117, allocations: 6.375 kB / 498.3 MB, free: 15.36 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.008e-05/0.4118, allocations: 133.2 kB / 498.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.4118, allocations: 19.92 kB / 498.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.4119, allocations: 19.02 kB / 498.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4119, allocations: 0 / 498.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.4119, allocations: 1.5 kB / 498.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4119, allocations: 8.531 kB / 498.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.4123, allocations: 397.8 kB / 498.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.4124, allocations: 4.031 kB / 498.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.4124, allocations: 13.73 kB / 498.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4124, allocations: 0.7188 kB / 498.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.4124, allocations: 10.23 kB / 498.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4124, allocations: 2.375 kB / 498.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4124, allocations: 0 / 498.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.4127, allocations: 201.9 kB / 499.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.4127, allocations: 97.89 kB / 499.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.4127, allocations: 6.906 kB / 499.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.4128, allocations: 3.016 kB / 499.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.4129, allocations: 14.53 kB / 499.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.4129, allocations: 2.25 kB / 499.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.4131, allocations: 198 kB / 499.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4131, allocations: 0 / 499.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.4133, allocations: 25.94 kB / 499.5 MB, free: 14.45 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.001079/0.4144, allocations: 475.7 kB / 499.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.4147, allocations: 55.78 kB / 500 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4147, allocations: 3.938 kB / 500 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.4148, allocations: 37.14 kB / 0.4883 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.4152, allocations: 31.38 kB / 0.4883 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.4157, allocations: 284.9 kB / 0.4886 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.416, allocations: 0.7116 MB / 0.4893 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.93e-05/0.416, allocations: 22.42 kB / 0.4893 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.4161, allocations: 19.94 kB / 0.4893 GB, free: 13.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4161, allocations: 3.938 kB / 0.4893 GB, free: 13.12 MB / 382.1 MB Notification: Performance of Templates: time 0.005255/0.4213, allocations: 1.752 MB / 0.491 GB, free: 12.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)