Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006255/0.006255, allocations: 107.8 kB / 15.74 MB, free: 6.441 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.001398/0.001398, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.652/1.652, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.356/0.356, allocations: 38 MB / 307.9 MB, free: 10.2 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.001965/0.001965, allocations: 67.89 kB / 433.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4079, allocations: 56.46 MB / 489.5 MB, free: 20.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003262/0.4112, allocations: 1.665 MB / 491.2 MB, free: 19.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.4126, allocations: 0.8057 MB / 492 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.4128, allocations: 1.031 kB / 492 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.4132, allocations: 39.86 kB / 492 MB, free: 18.46 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.000324/0.4135, allocations: 58.12 kB / 492.1 MB, free: 18.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.4138, allocations: 88.05 kB / 492.2 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.4141, allocations: 91.59 kB / 492.3 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.4142, allocations: 23.47 kB / 492.3 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.4144, allocations: 41.75 kB / 492.3 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.532e-05/0.4145, allocations: 26.86 kB / 492.3 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.4145, allocations: 3.688 kB / 492.4 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.4146, allocations: 49.55 kB / 492.4 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.4147, allocations: 22.73 kB / 492.4 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.4148, allocations: 29.53 kB / 492.5 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.415, allocations: 115.6 kB / 492.6 MB, free: 18.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4151, allocations: 4 kB / 492.6 MB, free: 18.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4151, allocations: 0 / 492.6 MB, free: 18.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.4151, allocations: 1.156 kB / 492.6 MB, free: 18.19 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.0005523/0.4156, allocations: 401.2 kB / 493 MB, free: 17.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4157, allocations: 13.08 kB / 493 MB, free: 17.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.4158, allocations: 9.938 kB / 493 MB, free: 17.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.4161, allocations: 218.3 kB / 493.2 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.4161, allocations: 2.547 kB / 493.2 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.4161, allocations: 10.31 kB / 493.2 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.4163, allocations: 53.58 kB / 493.3 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4163, allocations: 1.594 kB / 493.3 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4163, allocations: 0 / 493.3 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4163, allocations: 0.9688 kB / 493.3 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.553e-05/0.4164, allocations: 22.59 kB / 493.3 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.4168, allocations: 294 kB / 493.6 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.417, allocations: 62.22 kB / 493.6 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.4171, allocations: 19.41 kB / 493.7 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.4171, allocations: 0.9688 kB / 493.7 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.4173, allocations: 73.17 kB / 493.7 MB, free: 17.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.236e-06/0.4173, allocations: 0 / 493.7 MB, free: 17.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005843/0.4179, allocations: 172.1 kB / 493.9 MB, free: 17.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.4179, allocations: 62.3 kB / 494 MB, free: 16.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.4181, allocations: 180.1 kB / 494.1 MB, free: 16.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.4182, allocations: 30.98 kB / 494.2 MB, free: 16.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.4182, allocations: 99.44 kB / 494.3 MB, free: 16.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.4183, allocations: 26.39 kB / 494.3 MB, free: 16.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.4183, allocations: 26.67 kB / 494.3 MB, free: 16.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.4184, allocations: 324.8 kB / 494.6 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/0.4185, allocations: 22.47 kB / 494.6 MB, free: 16.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.4186, allocations: 35.28 kB / 494.7 MB, free: 16.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.4187, allocations: 60.95 kB / 494.7 MB, free: 16.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4187, allocations: 1 kB / 494.7 MB, free: 16.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001979/0.4189, allocations: 96.75 kB / 494.8 MB, free: 16.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4189, allocations: 6.016 kB / 494.8 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4189, allocations: 0 / 494.8 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.419, allocations: 1.375 kB / 494.8 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.4191, allocations: 18.89 kB / 494.9 MB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.4191, allocations: 2.125 kB / 494.9 MB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.519e-05/0.4192, allocations: 15.95 kB / 494.9 MB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.4192, allocations: 2.344 kB / 494.9 MB, free: 16.19 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 9.073e-05/0.4193, allocations: 124.7 kB / 495 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.4193, allocations: 10.39 kB / 495 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.4194, allocations: 14.84 kB / 495 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4194, allocations: 0 / 495 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4194, allocations: 1.469 kB / 495 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4194, allocations: 4.594 kB / 495 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.4198, allocations: 389.1 kB / 495.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4198, allocations: 5.391 kB / 495.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.4199, allocations: 13.55 kB / 495.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.4199, allocations: 0.7969 kB / 495.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.4199, allocations: 14.91 kB / 495.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4199, allocations: 0.8906 kB / 495.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4199, allocations: 5.688 kB / 495.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.4202, allocations: 207.4 kB / 495.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.4202, allocations: 85.48 kB / 495.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.4202, allocations: 13.52 kB / 495.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.4203, allocations: 3.953 kB / 495.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.4204, allocations: 5.953 kB / 495.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.4204, allocations: 3.75 kB / 495.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.4205, allocations: 147.6 kB / 495.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4205, allocations: 0 / 495.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.4208, allocations: 26.61 kB / 495.9 MB, free: 15.3 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.001067/0.4219, allocations: 472.6 kB / 496.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.4221, allocations: 56.2 kB / 496.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4221, allocations: 1.438 kB / 496.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.015e-05/0.4222, allocations: 32.12 kB / 496.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.4226, allocations: 30.86 kB / 496.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.423, allocations: 221.8 kB / 496.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.4232, allocations: 0.7041 MB / 497.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.632e-05/0.4233, allocations: 17.44 kB / 497.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.4233, allocations: 16.95 kB / 497.5 MB, free: 14.01 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4233, allocations: 0 / 497.5 MB, free: 14.01 MB / 382.1 MB Notification: Performance of Templates: time 0.005817/0.4292, allocations: 1.702 MB / 499.2 MB, free: 13.81 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1)