Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007034/0.007034, allocations: 102.4 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.001176/0.001176, allocations: 199.6 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.646/1.646, 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.3839/0.3839, allocations: 37.99 MB / 307.9 MB, free: 10.21 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.001526/0.001526, allocations: 83.88 kB / 433.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4197, allocations: 56.46 MB / 489.5 MB, free: 20.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003062/0.4228, allocations: 1.668 MB / 491.2 MB, free: 19.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.4241, allocations: 0.8071 MB / 492 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.4242, allocations: 1.5 kB / 492 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004307/0.4247, allocations: 104.2 kB / 492.1 MB, free: 18.44 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.0002947/0.425, allocations: 91.72 kB / 492.2 MB, free: 18.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.4252, allocations: 84.08 kB / 492.3 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.4255, allocations: 119.2 kB / 492.4 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.4256, allocations: 19.19 kB / 492.4 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.808e-05/0.4257, allocations: 59.69 kB / 492.5 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.4258, allocations: 60.62 kB / 492.5 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.4258, allocations: 4.25 kB / 492.5 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.4259, allocations: 46.92 kB / 492.6 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.426, allocations: 28.23 kB / 492.6 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.23e-05/0.4261, allocations: 46.28 kB / 492.6 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.4263, allocations: 132 kB / 492.8 MB, free: 18.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4264, allocations: 1.062 kB / 492.8 MB, free: 18.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4264, allocations: 0 / 492.8 MB, free: 18.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.4264, allocations: 0 / 492.8 MB, free: 18.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005149/0.4269, allocations: 440.5 kB / 493.2 MB, free: 17.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.4269, allocations: 13.08 kB / 493.2 MB, free: 17.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.427, allocations: 19.56 kB / 493.2 MB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.4273, allocations: 232.4 kB / 493.5 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.4273, allocations: 2.562 kB / 493.5 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.4273, allocations: 6.719 kB / 493.5 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.4275, allocations: 61.7 kB / 493.5 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4275, allocations: 1.156 kB / 493.5 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4275, allocations: 0.5625 kB / 493.5 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4275, allocations: 1.188 kB / 493.5 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.4276, allocations: 28.59 kB / 493.6 MB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.428, allocations: 303.7 kB / 493.9 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.4282, allocations: 73.48 kB / 493.9 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.4283, allocations: 26.81 kB / 494 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.4283, allocations: 1.5 kB / 494 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.4285, allocations: 84.67 kB / 494 MB, free: 17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.4285, allocations: 1.281 kB / 494 MB, free: 17 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000643/0.4291, allocations: 197.4 kB / 494.2 MB, free: 16.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.4292, allocations: 57.45 kB / 494.3 MB, free: 16.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.4295, allocations: 247.8 kB / 494.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.4295, allocations: 31.86 kB / 494.6 MB, free: 16.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.4296, allocations: 114 kB / 494.7 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.4296, allocations: 31.28 kB / 494.7 MB, free: 16.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.4296, allocations: 24.08 kB / 494.7 MB, free: 16.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.4297, allocations: 331.7 kB / 495.1 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.725e-05/0.4298, allocations: 24.27 kB / 495.1 MB, free: 16.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/0.4299, allocations: 38.72 kB / 495.1 MB, free: 16.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.4301, allocations: 70.53 kB / 495.2 MB, free: 16.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4301, allocations: 5.156 kB / 495.2 MB, free: 16.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000208/0.4303, allocations: 114 kB / 495.3 MB, free: 16.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4303, allocations: 5.375 kB / 495.3 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4303, allocations: 1.062 kB / 495.3 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.4303, allocations: 1.766 kB / 495.3 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4305, allocations: 16.19 kB / 495.3 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4305, allocations: 1.953 kB / 495.3 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.4305, allocations: 11.17 kB / 495.3 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.4305, allocations: 3.516 kB / 495.3 MB, free: 16.04 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 (11): * Single equations (assignments): 11 * 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.918e-05/0.4306, allocations: 140 kB / 495.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.4307, allocations: 16.09 kB / 495.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.4307, allocations: 21.39 kB / 495.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4307, allocations: 1.922 kB / 495.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4308, allocations: 1.219 kB / 495.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4308, allocations: 8.578 kB / 495.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.4312, allocations: 416.8 kB / 495.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4312, allocations: 5.156 kB / 495.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.4313, allocations: 10.25 kB / 495.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4313, allocations: 1.719 kB / 495.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.4313, allocations: 10.83 kB / 496 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4313, allocations: 5.953 kB / 496 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4313, allocations: 0 / 496 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.4315, allocations: 218.8 kB / 496.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.4316, allocations: 92.98 kB / 496.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.4316, allocations: 11.12 kB / 496.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.4317, allocations: 2.547 kB / 496.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.4317, allocations: 6.156 kB / 496.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.4317, allocations: 5.531 kB / 496.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.4319, allocations: 187.2 kB / 496.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4319, allocations: 1.062 kB / 496.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.4322, allocations: 27.62 kB / 496.5 MB, free: 15.11 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 (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.0009964/0.4332, allocations: 475.5 kB / 497 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.4334, allocations: 71.03 kB / 497 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.4334, allocations: 4.062 kB / 497 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.4335, allocations: 31.98 kB / 497.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.4339, allocations: 30.94 kB / 497.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.4345, allocations: 283.9 kB / 497.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.4347, allocations: 0.7153 MB / 498.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.755e-05/0.4348, allocations: 28.28 kB / 498.1 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.4349, allocations: 18.05 kB / 498.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4349, allocations: 0 / 498.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Templates: time 0.00524/0.4401, allocations: 1.816 MB / 500 MB, free: 13.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)