Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007383/0.007383, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001529/0.00153, allocations: 197.2 kB / 16.68 MB, free: 5.969 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.524/1.524, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3451/0.3451, allocations: 38 MB / 307.9 MB, free: 10.03 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.1. 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.001486/0.001486, allocations: 71.89 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3831, allocations: 56.46 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003329/0.3865, allocations: 1.881 MB / 491.4 MB, free: 18.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.3879, allocations: 0.8428 MB / 492.2 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.388, allocations: 1.469 kB / 492.2 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.3885, allocations: 45.36 kB / 492.3 MB, free: 18 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.0002491/0.3887, allocations: 56.73 kB / 492.3 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.389, allocations: 101.8 kB / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.3893, allocations: 138.2 kB / 492.6 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.3894, allocations: 35.77 kB / 492.6 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3896, allocations: 52.59 kB / 492.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.3897, allocations: 57.58 kB / 492.7 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.3897, allocations: 6.344 kB / 492.7 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.3898, allocations: 49.95 kB / 492.8 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.3899, allocations: 22.16 kB / 492.8 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.39, allocations: 55.69 kB / 492.8 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.3903, allocations: 154.9 kB / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3903, allocations: 0 / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3903, allocations: 0 / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3903, allocations: 1.375 kB / 493 MB, free: 17.64 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006217/0.3909, allocations: 476.8 kB / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.391, allocations: 13.39 kB / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.391, allocations: 16.47 kB / 493.5 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.3913, allocations: 228.4 kB / 493.7 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.3913, allocations: 8.328 kB / 493.7 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.3914, allocations: 8.688 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.3916, allocations: 107.2 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3916, allocations: 0 / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3916, allocations: 9.062 kB / 493.8 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3917, allocations: 10.12 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.3918, allocations: 51.42 kB / 493.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.3924, allocations: 0.5073 MB / 494.4 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.3927, allocations: 87.27 kB / 494.5 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.636e-05/0.3928, allocations: 40.62 kB / 494.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.3928, allocations: 2.281 kB / 494.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.393, allocations: 81.55 kB / 494.6 MB, free: 16.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.393, allocations: 4 kB / 494.6 MB, free: 16.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004048/0.3934, allocations: 143.6 kB / 494.8 MB, free: 16.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.3935, allocations: 57.03 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.3936, allocations: 187.8 kB / 495 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.3937, allocations: 30.77 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.3937, allocations: 111.5 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.3938, allocations: 34.41 kB / 495.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.3938, allocations: 32.91 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.3939, allocations: 327.7 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.698e-05/0.394, allocations: 33.52 kB / 495.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.523e-05/0.3941, allocations: 62.31 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3943, allocations: 99.98 kB / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3943, allocations: 1.156 kB / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002439/0.3945, allocations: 136.6 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3945, allocations: 6 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3945, allocations: 9.109 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3946, allocations: 3.141 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/0.3947, allocations: 24.75 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3947, allocations: 2.75 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/0.3948, allocations: 15.52 kB / 495.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.3948, allocations: 7.312 kB / 495.9 MB, free: 15.22 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 8.007e-05/0.3949, allocations: 128.3 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.3949, allocations: 16.23 kB / 496.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.3949, allocations: 19.12 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3949, allocations: 4.547 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3949, allocations: 1.281 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.395, allocations: 0.6094 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.3951, allocations: 206 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3951, allocations: 3.938 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/0.3952, allocations: 12.25 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3952, allocations: 0.8125 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3952, allocations: 1.938 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3952, allocations: 4.5 kB / 496.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3952, allocations: 5.312 kB / 496.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.3956, allocations: 186.2 kB / 496.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.3956, allocations: 93.81 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.3957, allocations: 9.062 kB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.983e-05/0.3957, allocations: 10.72 kB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.3958, allocations: 6.297 kB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3958, allocations: 10.98 kB / 496.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.3959, allocations: 138.3 kB / 496.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3959, allocations: 1.438 kB / 496.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.3962, allocations: 23.52 kB / 496.8 MB, free: 14.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (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.0008737/0.397, allocations: 416.2 kB / 497.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.3973, allocations: 81.45 kB / 497.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3973, allocations: 4.062 kB / 497.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.336e-05/0.3974, allocations: 39.47 kB / 497.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.3977, allocations: 41.08 kB / 497.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.3982, allocations: 265.4 kB / 497.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.3984, allocations: 0.7133 MB / 498.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.251e-05/0.3985, allocations: 16.42 kB / 498.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.3985, allocations: 16.67 kB / 498.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3985, allocations: 0 / 498.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of Templates: time 0.005144/0.4037, allocations: 1.893 MB / 0.4885 GB, free: 13.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)