Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006812/0.006812, allocations: 100.5 kB / 15.73 MB, free: 5.996 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.001319/0.001319, allocations: 190.5 kB / 16.67 MB, free: 5.926 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.67/1.67, allocations: 205.1 MB / 222.5 MB, free: 4.465 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.3799/0.3799, allocations: 38 MB / 307.9 MB, free: 10.16 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.001803/0.001803, allocations: 75.91 kB / 433.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4125, allocations: 56.46 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.004399/0.417, allocations: 1.669 MB / 491.2 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.4187, allocations: 0.8139 MB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.4189, allocations: 1.125 kB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.4193, allocations: 46.56 kB / 492 MB, free: 18.13 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.0003301/0.4197, allocations: 51.31 kB / 492.1 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.4201, allocations: 84.41 kB / 492.2 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.4203, allocations: 91.94 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.4205, allocations: 15.03 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.4206, allocations: 49.02 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.4207, allocations: 26.52 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.4208, allocations: 3.219 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.4209, allocations: 46.56 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.421, allocations: 20.02 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.983e-05/0.4211, allocations: 36.75 kB / 492.5 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.4214, allocations: 113.1 kB / 492.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4214, allocations: 0 / 492.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4214, allocations: 5.125 kB / 492.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.4214, allocations: 3.938 kB / 492.6 MB, free: 17.87 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.0005946/0.4221, allocations: 414.8 kB / 493 MB, free: 17.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4221, allocations: 13.52 kB / 493 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.4222, allocations: 13.62 kB / 493 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.4225, allocations: 212.2 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.4226, allocations: 1.656 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.4226, allocations: 11.62 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.4228, allocations: 57.66 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4228, allocations: 0 / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.4228, allocations: 2.234 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4228, allocations: 3.938 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.4229, allocations: 18.06 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.4234, allocations: 284.8 kB / 493.6 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.4236, allocations: 64.19 kB / 493.6 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.4236, allocations: 23.22 kB / 493.7 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.4237, allocations: 1.844 kB / 493.7 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.4238, allocations: 68.88 kB / 493.7 MB, free: 16.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4239, allocations: 0 / 493.7 MB, free: 16.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006832/0.4245, allocations: 169.3 kB / 493.9 MB, free: 16.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.4246, allocations: 56.38 kB / 494 MB, free: 16.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.4248, allocations: 198.5 kB / 494.2 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.4248, allocations: 27.02 kB / 494.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.4249, allocations: 105.8 kB / 494.3 MB, free: 16.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.4249, allocations: 29.36 kB / 494.3 MB, free: 16.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.425, allocations: 22.16 kB / 494.3 MB, free: 16.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.998e-05/0.4251, allocations: 326.8 kB / 494.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.4251, allocations: 20.89 kB / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.4252, allocations: 39.58 kB / 494.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.4254, allocations: 57.08 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4254, allocations: 1.828 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002348/0.4256, allocations: 100.9 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4257, allocations: 5.75 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4257, allocations: 0 / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4257, allocations: 5.906 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.4258, allocations: 23.66 kB / 494.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.4258, allocations: 1.062 kB / 494.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.392e-05/0.4259, allocations: 7.359 kB / 494.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.4259, allocations: 6.219 kB / 494.9 MB, free: 15.86 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 8.904e-05/0.426, allocations: 130.1 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.426, allocations: 14.09 kB / 495.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.4261, allocations: 17.25 kB / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4261, allocations: 0 / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4261, allocations: 9.188 kB / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4261, allocations: 4.641 kB / 495.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.4266, allocations: 387.2 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4266, allocations: 0 / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.4266, allocations: 12.98 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4266, allocations: 1.156 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.4267, allocations: 10.84 kB / 495.5 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4267, allocations: 1.094 kB / 495.5 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4267, allocations: 5.844 kB / 495.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.4269, allocations: 200.9 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.427, allocations: 84.11 kB / 495.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.427, allocations: 11.08 kB / 495.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.4271, allocations: 3.375 kB / 495.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.4271, allocations: 8.5 kB / 495.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.4272, allocations: 9.438 kB / 495.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.4273, allocations: 154.8 kB / 496 MB, free: 14.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4273, allocations: 0 / 496 MB, free: 14.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000352/0.4277, allocations: 22.25 kB / 496 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.001096/0.4288, allocations: 472.4 kB / 496.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.429, allocations: 65.09 kB / 496.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.429, allocations: 0 / 496.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.859e-05/0.4291, allocations: 28.16 kB / 496.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.4294, allocations: 34.66 kB / 496.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/0.43, allocations: 241.1 kB / 496.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.4301, allocations: 0.7039 MB / 497.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.906e-05/0.4302, allocations: 12.08 kB / 497.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.4303, allocations: 17.14 kB / 497.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4303, allocations: 0 / 497.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of Templates: time 0.005908/0.4362, allocations: 1.738 MB / 499.3 MB, free: 13.46 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)