Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006742/0.006742, allocations: 103.2 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.001424/0.001424, allocations: 190.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.675/1.675, 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.1+maint.om/package.mo): time 0.367/0.367, allocations: 37.99 MB / 307.9 MB, free: 9.996 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.001679/0.001679, allocations: 72.5 kB / 433 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4072, allocations: 56.47 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003406/0.4107, allocations: 1.662 MB / 491.2 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.4121, allocations: 0.8175 MB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.638e-05/0.4123, allocations: 0.7812 kB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004245/0.4127, allocations: 54.95 kB / 492 MB, free: 18.23 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.0002665/0.413, allocations: 59.09 kB / 492.1 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.4133, allocations: 87.84 kB / 492.2 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.4135, allocations: 95.66 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.4136, allocations: 14.83 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.38e-05/0.4137, allocations: 41.3 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.614e-05/0.4138, allocations: 25.92 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.4139, allocations: 8 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.414, allocations: 46 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.046e-05/0.4141, allocations: 23.89 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.782e-05/0.4142, allocations: 42.08 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.4144, allocations: 133.4 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.4145, allocations: 0.6094 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4145, allocations: 0 / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.4145, allocations: 0.9062 kB / 492.6 MB, free: 17.95 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.0006103/0.4151, allocations: 437.9 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4151, allocations: 13.64 kB / 493.1 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.4152, allocations: 18.62 kB / 493.1 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.4155, allocations: 223.6 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4155, allocations: 5.906 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.4155, allocations: 5.312 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.4157, allocations: 59.52 kB / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4157, allocations: 0 / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4157, allocations: 1.062 kB / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.4158, allocations: 1.094 kB / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.448e-05/0.4158, allocations: 21.92 kB / 493.4 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.4162, allocations: 297.5 kB / 493.7 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.4164, allocations: 55.78 kB / 493.7 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.4165, allocations: 20.25 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.4165, allocations: 5.422 kB / 493.8 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.4167, allocations: 69.78 kB / 493.8 MB, free: 16.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.4167, allocations: 3.938 kB / 493.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005872/0.4173, allocations: 183.3 kB / 494 MB, free: 16.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.4174, allocations: 52.56 kB / 494.1 MB, free: 16.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.4177, allocations: 259 kB / 494.3 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.4177, allocations: 26.89 kB / 494.3 MB, free: 16.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.4178, allocations: 118.9 kB / 494.5 MB, free: 16.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.4178, allocations: 22.25 kB / 494.5 MB, free: 16.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.4178, allocations: 26.5 kB / 494.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.4179, allocations: 328 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.418, allocations: 22.06 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.052e-05/0.4181, allocations: 38.73 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.4182, allocations: 62.45 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4182, allocations: 0 / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001896/0.4184, allocations: 106.5 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4184, allocations: 5.375 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4184, allocations: 5.844 kB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4185, allocations: 1.188 kB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.4186, allocations: 15.62 kB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.902e-06/0.4186, allocations: 1.031 kB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.4186, allocations: 9.812 kB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.4186, allocations: 8.953 kB / 495.1 MB, free: 15.87 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.0001029/0.4188, allocations: 136.1 kB / 495.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.4188, allocations: 15.06 kB / 495.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.4188, allocations: 17.97 kB / 495.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.4189, allocations: 1.844 kB / 495.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4189, allocations: 0 / 495.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.4189, allocations: 10.22 kB / 495.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.4193, allocations: 409.9 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4193, allocations: 384 / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.4194, allocations: 8.656 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4194, allocations: 1.375 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.4194, allocations: 10.64 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4194, allocations: 1.469 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4194, allocations: 0 / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.4196, allocations: 206.2 kB / 495.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.4197, allocations: 91.03 kB / 496 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.4197, allocations: 9.094 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.4198, allocations: 3.625 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.4199, allocations: 9.297 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.4199, allocations: 8.531 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.4201, allocations: 191.2 kB / 496.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4201, allocations: 1.938 kB / 496.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000261/0.4203, allocations: 21.05 kB / 496.2 MB, free: 14.96 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.00111/0.4215, allocations: 483.2 kB / 496.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.4217, allocations: 56.33 kB / 496.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4217, allocations: 4.062 kB / 496.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.201e-05/0.4218, allocations: 28.88 kB / 496.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.4222, allocations: 34.78 kB / 496.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.4228, allocations: 279.5 kB / 497.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.423, allocations: 0.7165 MB / 497.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.738e-05/0.4231, allocations: 21.2 kB / 497.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.4231, allocations: 15.77 kB / 497.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4231, allocations: 0.9688 kB / 497.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of Templates: time 0.005857/0.429, allocations: 1.739 MB / 499.6 MB, free: 13.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)