Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 112.5 kB / 15.73 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 196.5 kB / 16.66 MB, free: 6.574 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.654/1.654, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.4421/0.4421, allocations: 37.99 MB / 307.9 MB, free: 10 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.001612/0.001612, allocations: 80.45 kB / 433.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.408, allocations: 56.45 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003365/0.4114, allocations: 1.689 MB / 491.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.4131, allocations: 0.8143 MB / 492 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.4132, allocations: 2 kB / 492 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004568/0.4137, allocations: 103.4 kB / 492.1 MB, free: 18.18 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.0003311/0.4141, allocations: 92.27 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.4144, allocations: 81.88 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.4147, allocations: 124.7 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.4149, allocations: 20.94 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.415, allocations: 57.53 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.4152, allocations: 65.2 kB / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.4152, allocations: 9.344 kB / 492.6 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.4154, allocations: 44.08 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.068e-05/0.4155, allocations: 31.69 kB / 492.6 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.286e-05/0.4156, allocations: 44.33 kB / 492.7 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.416, allocations: 138.5 kB / 492.8 MB, free: 17.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.416, allocations: 4 kB / 492.8 MB, free: 17.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.416, allocations: 0 / 492.8 MB, free: 17.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.416, allocations: 1.188 kB / 492.8 MB, free: 17.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007811/0.4168, allocations: 442.1 kB / 493.2 MB, free: 17.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.4168, allocations: 16.61 kB / 493.3 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.4169, allocations: 15.41 kB / 493.3 MB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.4173, allocations: 229.1 kB / 493.5 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4173, allocations: 2.75 kB / 493.5 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.4174, allocations: 15.94 kB / 493.5 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.4176, allocations: 66.67 kB / 493.6 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.4176, allocations: 0 / 493.6 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.4176, allocations: 6.016 kB / 493.6 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4176, allocations: 1.219 kB / 493.6 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.4178, allocations: 27.58 kB / 493.6 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.4183, allocations: 323 kB / 493.9 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.4185, allocations: 67.39 kB / 494 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.855e-05/0.4186, allocations: 26.55 kB / 494 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.4186, allocations: 9.922 kB / 494 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.4188, allocations: 78.42 kB / 494.1 MB, free: 16.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.4188, allocations: 1.125 kB / 494.1 MB, free: 16.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007781/0.4196, allocations: 232.2 kB / 494.3 MB, free: 16.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.4197, allocations: 53.28 kB / 494.4 MB, free: 16.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.42, allocations: 247.6 kB / 494.6 MB, free: 16.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.42, allocations: 28.33 kB / 494.7 MB, free: 16.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.4201, allocations: 119.1 kB / 494.8 MB, free: 16.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.4201, allocations: 44.48 kB / 494.8 MB, free: 16.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.4202, allocations: 23.8 kB / 494.8 MB, free: 16.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.4203, allocations: 328.9 kB / 495.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.4204, allocations: 31.42 kB / 495.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.046e-05/0.4205, allocations: 45.42 kB / 495.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.4206, allocations: 90.22 kB / 495.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4206, allocations: 0.5156 kB / 495.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002304/0.4209, allocations: 131.7 kB / 495.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.4209, allocations: 6.25 kB / 495.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4209, allocations: 0.6094 kB / 495.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4209, allocations: 1.844 kB / 495.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.421, allocations: 23.19 kB / 495.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4211, allocations: 6.609 kB / 495.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.4211, allocations: 6.547 kB / 495.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.4211, allocations: 7.656 kB / 495.5 MB, free: 15.71 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 (13): * Single equations (assignments): 13 * 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.0001153/0.4213, allocations: 133.7 kB / 495.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.4213, allocations: 14.44 kB / 495.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.4214, allocations: 18.69 kB / 495.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.4214, allocations: 1.594 kB / 495.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.4214, allocations: 8.781 kB / 495.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4214, allocations: 0.6562 kB / 495.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/0.4219, allocations: 447.6 kB / 496.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4219, allocations: 1.125 kB / 496.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.422, allocations: 22.3 kB / 496.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.422, allocations: 1 kB / 496.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.422, allocations: 7.203 kB / 496.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.422, allocations: 2.078 kB / 496.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.422, allocations: 0 / 496.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.4223, allocations: 233.8 kB / 496.4 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.4224, allocations: 94.14 kB / 496.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.4224, allocations: 7.125 kB / 496.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.4225, allocations: 2.703 kB / 496.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.4225, allocations: 6.578 kB / 496.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.4225, allocations: 10.77 kB / 496.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.4227, allocations: 183.6 kB / 496.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4227, allocations: 1.25 kB / 496.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.423, allocations: 37.09 kB / 496.7 MB, free: 14.77 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 (11): * Single equations (assignments): 9 * 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.001086/0.4241, allocations: 474.5 kB / 497.2 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.4244, allocations: 92.05 kB / 497.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4244, allocations: 0 / 497.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.305e-05/0.4245, allocations: 36.31 kB / 497.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.4248, allocations: 39.64 kB / 497.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005595/0.4254, allocations: 289.9 kB / 497.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.4256, allocations: 0.7237 MB / 498.3 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.423e-05/0.4257, allocations: 20.86 kB / 498.4 MB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.4258, allocations: 19.33 kB / 498.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4258, allocations: 1.125 kB / 498.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of Templates: time 0.005909/0.4317, allocations: 1.917 MB / 0.4886 GB, free: 13.21 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)