Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005051/0.005051, allocations: 100.7 kB / 15.73 MB, free: 6.48 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.001073/0.001073, allocations: 196.1 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.587/1.587, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.3719/0.3719, allocations: 39.94 MB / 309.8 MB, free: 9.34 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.001491/0.001491, allocations: 71.91 kB / 435.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3908, allocations: 56.87 MB / 492.7 MB, free: 19.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003566/0.3944, allocations: 1.69 MB / 494.4 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3959, allocations: 0.8071 MB / 495.2 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.932e-05/0.396, allocations: 1.406 kB / 495.2 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.3965, allocations: 36.73 kB / 495.3 MB, free: 17.64 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.0002659/0.3967, allocations: 51.64 kB / 495.3 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.3971, allocations: 85.73 kB / 495.4 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.3973, allocations: 98.28 kB / 495.5 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3974, allocations: 20.77 kB / 495.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.3975, allocations: 40.72 kB / 495.5 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.571e-05/0.3976, allocations: 25.83 kB / 495.6 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.3977, allocations: 4.281 kB / 495.6 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.3978, allocations: 45.16 kB / 495.6 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.3979, allocations: 17.2 kB / 495.6 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.3979, allocations: 29.11 kB / 495.7 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.3982, allocations: 107.9 kB / 495.8 MB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3982, allocations: 0 / 495.8 MB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3982, allocations: 0 / 495.8 MB, free: 17.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3982, allocations: 4 kB / 495.8 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005338/0.3988, allocations: 402.4 kB / 496.2 MB, free: 16.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.3988, allocations: 13.98 kB / 496.2 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.3989, allocations: 9.5 kB / 496.2 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.3991, allocations: 217.4 kB / 496.4 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3991, allocations: 5.953 kB / 496.4 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.3992, allocations: 9.391 kB / 496.4 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.3994, allocations: 50.34 kB / 496.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3994, allocations: 5.688 kB / 496.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3994, allocations: 4 kB / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3994, allocations: 2.391 kB / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.332e-05/0.3995, allocations: 17.52 kB / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.3999, allocations: 279.6 kB / 496.8 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.4001, allocations: 55.77 kB / 496.8 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.895e-05/0.4002, allocations: 24 kB / 496.8 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.4002, allocations: 1.969 kB / 496.8 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.4004, allocations: 70.06 kB / 496.9 MB, free: 16.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.4004, allocations: 0 / 496.9 MB, free: 16.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000597/0.401, allocations: 171.3 kB / 497.1 MB, free: 16.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.4011, allocations: 61.27 kB / 497.1 MB, free: 16.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.4012, allocations: 159.2 kB / 497.3 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.4012, allocations: 28.08 kB / 497.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.4013, allocations: 98 kB / 497.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.4013, allocations: 30.38 kB / 497.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.4014, allocations: 25.03 kB / 497.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.4015, allocations: 321.2 kB / 497.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.985e-05/0.4015, allocations: 19.08 kB / 497.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.4016, allocations: 38.25 kB / 497.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.4017, allocations: 62.11 kB / 497.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4017, allocations: 0 / 497.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002426/0.402, allocations: 93.31 kB / 498 MB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.402, allocations: 5.734 kB / 498 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.402, allocations: 4 kB / 498 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.4021, allocations: 6.547 kB / 498 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.4022, allocations: 26.78 kB / 498 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.4023, allocations: 1.156 kB / 498 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.4024, allocations: 3.094 kB / 498 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.4024, allocations: 3.062 kB / 498 MB, free: 15.39 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 0.0001723/0.4026, allocations: 118.5 kB / 498.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.4026, allocations: 17.56 kB / 498.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.545e-05/0.4027, allocations: 17.16 kB / 498.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.4027, allocations: 1.562 kB / 498.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4028, allocations: 7.938 kB / 498.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.4028, allocations: 0.5156 kB / 498.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007611/0.4035, allocations: 395.3 kB / 498.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4036, allocations: 1.094 kB / 498.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.054e-05/0.4036, allocations: 8.938 kB / 498.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.4037, allocations: 1.156 kB / 498.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.4037, allocations: 3.047 kB / 498.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.4037, allocations: 1.094 kB / 498.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4037, allocations: 3.938 kB / 498.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.4041, allocations: 205.8 kB / 498.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.4042, allocations: 83.52 kB / 498.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.4042, allocations: 7.625 kB / 498.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.4043, allocations: 2.438 kB / 498.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.4044, allocations: 6 kB / 498.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.4045, allocations: 3.156 kB / 498.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.4047, allocations: 130.2 kB / 499 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4047, allocations: 0 / 499 MB, free: 14.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004363/0.4051, allocations: 26.59 kB / 499.1 MB, free: 14.51 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.001271/0.4064, allocations: 479.3 kB / 499.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.4067, allocations: 61.08 kB / 499.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4067, allocations: 0 / 499.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.74e-05/0.4068, allocations: 32.91 kB / 499.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.4073, allocations: 29.59 kB / 499.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007422/0.4081, allocations: 210.2 kB / 499.9 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.4084, allocations: 0.6973 MB / 0.4888 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.872e-05/0.4084, allocations: 16.23 kB / 0.4888 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.4085, allocations: 21.12 kB / 0.4889 GB, free: 13.21 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4085, allocations: 0 / 0.4889 GB, free: 13.21 MB / 382.1 MB Notification: Performance of Templates: time 0.006423/0.4149, allocations: 1.684 MB / 0.4905 GB, free: 13.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)