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.0081/0.008101, allocations: 102.2 kB / 15.73 MB, free: 6.488 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.001517/0.001517, allocations: 194.5 kB / 16.68 MB, free: 6.375 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.571/1.571, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3684/0.3684, allocations: 38 MB / 307.9 MB, free: 10.09 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.00184/0.00184, allocations: 67.84 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3993, allocations: 56.46 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003289/0.4026, allocations: 1.89 MB / 491.4 MB, free: 18.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.4042, allocations: 0.8393 MB / 492.2 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.4043, allocations: 2.344 kB / 492.2 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.4047, allocations: 50.39 kB / 492.3 MB, free: 17.99 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.0002843/0.405, allocations: 56.62 kB / 492.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.4053, allocations: 93.62 kB / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.4056, allocations: 139.1 kB / 492.6 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.4058, allocations: 36.45 kB / 492.6 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.4059, allocations: 60.83 kB / 492.7 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.406, allocations: 52.44 kB / 492.7 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.4061, allocations: 7.125 kB / 492.7 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.4062, allocations: 46.09 kB / 492.8 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.717e-05/0.4063, allocations: 30.61 kB / 492.8 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.801e-05/0.4064, allocations: 47.39 kB / 492.8 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.4067, allocations: 149.5 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4067, allocations: 4 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4067, allocations: 0 / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.4067, allocations: 4 kB / 493 MB, free: 17.62 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.0006979/0.4074, allocations: 468.7 kB / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.4075, allocations: 12.7 kB / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.4076, allocations: 17.09 kB / 493.5 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.4079, allocations: 232.7 kB / 493.7 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.408, allocations: 7.875 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.408, allocations: 13.59 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.4083, allocations: 105.4 kB / 493.8 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4083, allocations: 0 / 493.8 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.4083, allocations: 5.344 kB / 493.8 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4083, allocations: 6.062 kB / 493.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.4085, allocations: 47.89 kB / 493.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.4091, allocations: 0.5105 MB / 494.4 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.4095, allocations: 83.41 kB / 494.5 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.4097, allocations: 45.52 kB / 494.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.4097, allocations: 5.688 kB / 494.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.4099, allocations: 85.8 kB / 494.6 MB, free: 16.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.41, allocations: 0 / 494.6 MB, free: 16.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005278/0.4105, allocations: 144.2 kB / 494.8 MB, free: 16.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.4105, allocations: 56 kB / 494.8 MB, free: 16.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.4108, allocations: 191.7 kB / 495 MB, free: 15.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.4108, allocations: 30.86 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.4109, allocations: 111.9 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.411, allocations: 29.75 kB / 495.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.411, allocations: 29.25 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.4111, allocations: 327.4 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.4112, allocations: 33.39 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.4113, allocations: 71.28 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.4116, allocations: 99.53 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.4116, allocations: 1.125 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002966/0.4119, allocations: 137.5 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.4119, allocations: 5.812 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.4119, allocations: 1.5 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.412, allocations: 1.5 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.4121, allocations: 26 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.4121, allocations: 5.438 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.4122, allocations: 15.58 kB / 495.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.4122, allocations: 8.031 kB / 495.9 MB, free: 15.21 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 0.0001256/0.4124, allocations: 121 kB / 496 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.4124, allocations: 14.88 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.357e-05/0.4125, allocations: 20.02 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4125, allocations: 5.094 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.4125, allocations: 1.031 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4125, allocations: 0.5625 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.4127, allocations: 214 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4127, allocations: 0.9375 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.408e-05/0.4128, allocations: 15.3 kB / 496.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4128, allocations: 0.9688 kB / 496.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.4129, allocations: 6.297 kB / 496.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4129, allocations: 4.562 kB / 496.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4129, allocations: 0 / 496.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.4133, allocations: 186.5 kB / 496.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.4134, allocations: 89.09 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.4134, allocations: 6.969 kB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.087e-05/0.4135, allocations: 10.19 kB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.4135, allocations: 9.672 kB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.4136, allocations: 4.109 kB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.4137, allocations: 142.9 kB / 496.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4137, allocations: 0 / 496.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.414, allocations: 28.69 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.001078/0.4151, allocations: 413.4 kB / 497.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.4154, allocations: 81.84 kB / 497.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4154, allocations: 0 / 497.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.4155, allocations: 36.86 kB / 497.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.4158, allocations: 40.39 kB / 497.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.4165, allocations: 267.8 kB / 497.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.4167, allocations: 0.7111 MB / 498.3 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.6e-05/0.4168, allocations: 26.77 kB / 498.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.4169, allocations: 18.06 kB / 498.3 MB, free: 13.24 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4169, allocations: 0 / 498.3 MB, free: 13.24 MB / 382.1 MB Notification: Performance of Templates: time 0.007105/0.424, allocations: 1.888 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)