Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006103/0.006103, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001269/0.001269, allocations: 196.5 kB / 16.67 MB, free: 5.977 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.606/1.606, 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.4052/0.4052, allocations: 39.95 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.001772/0.001772, allocations: 79.84 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3966, allocations: 56.87 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003237/0.3999, allocations: 1.686 MB / 494.4 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.4014, allocations: 0.8005 MB / 495.2 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.16e-05/0.4015, allocations: 7.938 kB / 495.2 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.402, allocations: 105.7 kB / 495.3 MB, free: 17.67 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.0003138/0.4023, allocations: 87.14 kB / 495.4 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.4026, allocations: 85.2 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.4029, allocations: 117.5 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.403, allocations: 15.91 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.4031, allocations: 60.08 kB / 495.7 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.4032, allocations: 64.53 kB / 495.7 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.4033, allocations: 3.938 kB / 495.7 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.4034, allocations: 43.5 kB / 495.8 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.4035, allocations: 35.53 kB / 495.8 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.4035, allocations: 44.02 kB / 495.9 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.4038, allocations: 130.8 kB / 496 MB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4038, allocations: 5.219 kB / 496 MB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4038, allocations: 0 / 496 MB, free: 17.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.4038, allocations: 0 / 496 MB, free: 17.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007192/0.4046, allocations: 439.9 kB / 496.4 MB, free: 16.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4046, allocations: 13.61 kB / 496.4 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.4047, allocations: 11.31 kB / 496.4 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.405, allocations: 232 kB / 496.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.405, allocations: 7.75 kB / 496.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.4051, allocations: 9.531 kB / 496.7 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.4053, allocations: 64.31 kB / 496.8 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.4053, allocations: 0 / 496.8 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.4053, allocations: 4 kB / 496.8 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.4053, allocations: 6.312 kB / 496.8 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.4054, allocations: 23.77 kB / 496.8 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.4058, allocations: 311.8 kB / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.4061, allocations: 72.64 kB / 497.2 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.699e-05/0.4061, allocations: 26.23 kB / 497.2 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.4062, allocations: 1.625 kB / 497.2 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.4063, allocations: 70.58 kB / 497.3 MB, free: 16.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.4064, allocations: 0 / 497.3 MB, free: 16.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006561/0.407, allocations: 210.8 kB / 497.5 MB, free: 16.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.4071, allocations: 53.31 kB / 497.5 MB, free: 16.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.4073, allocations: 243.6 kB / 497.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.4074, allocations: 31.17 kB / 497.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.4074, allocations: 114.6 kB / 497.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.4075, allocations: 30.5 kB / 497.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.4075, allocations: 23.31 kB / 498 MB, free: 15.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.4076, allocations: 336.4 kB / 498.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/0.4077, allocations: 25.11 kB / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.4078, allocations: 42.08 kB / 498.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.4079, allocations: 70.38 kB / 498.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.4079, allocations: 0.7812 kB / 498.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002013/0.4081, allocations: 122.7 kB / 498.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4081, allocations: 10.42 kB / 498.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4081, allocations: 0 / 498.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.4082, allocations: 1.344 kB / 498.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.4083, allocations: 17.59 kB / 498.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/0.4083, allocations: 1.406 kB / 498.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.4083, allocations: 5.953 kB / 498.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.4084, allocations: 5.266 kB / 498.6 MB, free: 15.25 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 (11): * Single equations (assignments): 11 * 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.0001124/0.4085, allocations: 134.6 kB / 498.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.4085, allocations: 16.36 kB / 498.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.4086, allocations: 25.89 kB / 498.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4086, allocations: 2 kB / 498.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4086, allocations: 192 / 498.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4086, allocations: 4.734 kB / 498.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.4091, allocations: 421.3 kB / 499.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4091, allocations: 1.031 kB / 499.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/0.4091, allocations: 14.72 kB / 499.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4091, allocations: 1.25 kB / 499.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4091, allocations: 10.47 kB / 499.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4091, allocations: 1.062 kB / 499.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4091, allocations: 2.297 kB / 499.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.4094, allocations: 213 kB / 499.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.4094, allocations: 85.42 kB / 499.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.4095, allocations: 11.39 kB / 499.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.4095, allocations: 3.406 kB / 499.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.4096, allocations: 9.375 kB / 499.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.4096, allocations: 4.859 kB / 499.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.4098, allocations: 188.2 kB / 499.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4098, allocations: 0 / 499.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.41, allocations: 23.5 kB / 499.7 MB, free: 14.34 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 (9): * Single equations (assignments): 7 * 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.4111, allocations: 481.9 kB / 0.4885 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.4113, allocations: 75.66 kB / 0.4885 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4113, allocations: 0 / 0.4885 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.4114, allocations: 36.75 kB / 0.4886 GB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.4117, allocations: 37.14 kB / 0.4886 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.4123, allocations: 289.1 kB / 0.4889 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.4125, allocations: 0.7126 MB / 0.4896 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.561e-05/0.4125, allocations: 15.53 kB / 0.4896 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.4126, allocations: 21.59 kB / 0.4896 GB, free: 13 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4126, allocations: 4 kB / 0.4896 GB, free: 13 MB / 382.1 MB Notification: Performance of Templates: time 0.005428/0.418, allocations: 1.834 MB / 0.4914 GB, free: 12.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)