Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007832/0.007832, allocations: 98.56 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.001827/0.001827, allocations: 195.6 kB / 16.68 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.549/1.549, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.3671/0.3671, allocations: 38 MB / 307.9 MB, free: 10.07 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.001471/0.001471, allocations: 71.91 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3818, allocations: 56.45 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002853/0.3847, allocations: 1.635 MB / 491.1 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3859, allocations: 0.7928 MB / 491.9 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.386, allocations: 0.7812 kB / 491.9 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.3863, allocations: 57.17 kB / 492 MB, free: 18.27 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.0002188/0.3865, allocations: 68.53 kB / 492.1 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.3868, allocations: 77.97 kB / 492.1 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.387, allocations: 95.06 kB / 492.2 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.387, allocations: 21.77 kB / 492.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.3871, allocations: 41.75 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.966e-05/0.3872, allocations: 41.12 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.3872, allocations: 2.344 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.3873, allocations: 38.95 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.3874, allocations: 17.3 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.3875, allocations: 32.55 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.3877, allocations: 97.83 kB / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.3877, allocations: 0 / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3877, allocations: 7.938 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.3877, allocations: 0 / 492.5 MB, free: 18.02 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000517/0.3882, allocations: 399.9 kB / 492.9 MB, free: 17.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3883, allocations: 16.86 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.3883, allocations: 14.55 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.3886, allocations: 204.9 kB / 493.1 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3886, allocations: 2.438 kB / 493.1 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.3886, allocations: 6.312 kB / 493.2 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.3888, allocations: 54.31 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3888, allocations: 4 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3888, allocations: 5.156 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3888, allocations: 1.312 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.3889, allocations: 11 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.389, allocations: 182.7 kB / 493.4 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.3892, allocations: 57.56 kB / 493.5 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.3893, allocations: 22.25 kB / 493.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.3893, allocations: 1.188 kB / 493.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.3895, allocations: 65.12 kB / 493.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.3895, allocations: 0 / 493.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000273/0.3898, allocations: 92.83 kB / 493.6 MB, free: 16.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.3898, allocations: 59.41 kB / 493.7 MB, free: 16.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.39, allocations: 181.4 kB / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.39, allocations: 29.64 kB / 493.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.39, allocations: 103.5 kB / 494 MB, free: 16.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.3901, allocations: 19.19 kB / 494 MB, free: 16.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.3901, allocations: 20.25 kB / 494 MB, free: 16.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.3902, allocations: 322 kB / 494.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.053e-05/0.3902, allocations: 14.03 kB / 494.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-05/0.3903, allocations: 35.05 kB / 494.4 MB, free: 16.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.645e-05/0.3904, allocations: 41.66 kB / 494.4 MB, free: 16.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3904, allocations: 1.094 kB / 494.4 MB, free: 16.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001395/0.3905, allocations: 86.84 kB / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3905, allocations: 6.547 kB / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3906, allocations: 1.156 kB / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3906, allocations: 1.125 kB / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.3907, allocations: 13.84 kB / 494.6 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3907, allocations: 1.891 kB / 494.6 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.3907, allocations: 3.078 kB / 494.6 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.3907, allocations: 2.344 kB / 494.6 MB, free: 16.18 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 (7): * Single equations (assignments): 7 * 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 6.965e-05/0.3908, allocations: 128.1 kB / 494.7 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.3908, allocations: 9.906 kB / 494.7 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.3909, allocations: 13.67 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3909, allocations: 5.266 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3909, allocations: 9.156 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3909, allocations: 0.6094 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.391, allocations: 189.2 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.391, allocations: 0 / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.391, allocations: 4.109 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.391, allocations: 1.094 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.391, allocations: 1.969 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3911, allocations: 0 / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3911, allocations: 1.188 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.3912, allocations: 116.4 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.3913, allocations: 88.3 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3913, allocations: 2 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.258e-05/0.3913, allocations: 2.125 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.3914, allocations: 7.984 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3914, allocations: 2.859 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.3915, allocations: 147.6 kB / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3915, allocations: 0 / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002081/0.3917, allocations: 17.45 kB / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0008374/0.3926, allocations: 422.3 kB / 495.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.3927, allocations: 36.77 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3927, allocations: 3.938 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.759e-05/0.3928, allocations: 18.2 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.3931, allocations: 37.98 kB / 495.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.3934, allocations: 195.6 kB / 496 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.3935, allocations: 0.6985 MB / 496.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.595e-05/0.3936, allocations: 13.86 kB / 496.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.3936, allocations: 14.67 kB / 496.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3936, allocations: 1.469 kB / 496.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of Templates: time 0.004578/0.3982, allocations: 1.47 MB / 498.2 MB, free: 14.13 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)