Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test75,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01375/0.01375, allocations: 96.61 kB / 15.73 MB, free: 6.039 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.002757/0.002757, allocations: 201 kB / 16.68 MB, free: 5.969 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.718/1.718, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4185/0.4185, allocations: 39.94 MB / 309.9 MB, free: 9.445 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.2. 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.001434/0.001434, allocations: 67.91 kB / 435.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4254, allocations: 56.88 MB / 492.7 MB, free: 19.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004034/0.4295, allocations: 1.842 MB / 494.6 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.4316, allocations: 0.9063 MB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.4317, allocations: 6.031 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.4323, allocations: 215.8 kB / 495.7 MB, free: 17.57 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.0004656/0.4328, allocations: 169 kB / 495.8 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.4333, allocations: 146.1 kB / 496 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.4337, allocations: 229.6 kB / 496.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.389e-05/0.4337, allocations: 23.12 kB / 496.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.434, allocations: 113.5 kB / 496.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.4342, allocations: 142 kB / 496.5 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.4342, allocations: 11.41 kB / 496.5 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.4344, allocations: 47.02 kB / 496.5 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.4345, allocations: 57.22 kB / 496.6 MB, free: 17.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.185e-05/0.4346, allocations: 81.08 kB / 496.7 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.4349, allocations: 215.9 kB / 496.9 MB, free: 17.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4349, allocations: 0.9062 kB / 496.9 MB, free: 17.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4349, allocations: 0 / 496.9 MB, free: 17.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.4349, allocations: 0 / 496.9 MB, free: 17.07 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006581/0.4356, allocations: 0.5464 MB / 497.4 MB, free: 16.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.4356, allocations: 17.92 kB / 497.5 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.4357, allocations: 28.97 kB / 497.5 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.4361, allocations: 279.8 kB / 497.8 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.4361, allocations: 2.812 kB / 497.8 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.4362, allocations: 12.88 kB / 497.8 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.4364, allocations: 102.1 kB / 497.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4364, allocations: 1.062 kB / 497.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4364, allocations: 9.906 kB / 497.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4364, allocations: 1.594 kB / 497.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.4365, allocations: 35.78 kB / 497.9 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.437, allocations: 456.2 kB / 498.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.4373, allocations: 115.9 kB / 498.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.537e-05/0.4374, allocations: 40.77 kB / 498.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.4374, allocations: 1.969 kB / 498.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.4376, allocations: 116 kB / 498.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.4376, allocations: 0 / 498.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008195/0.4385, allocations: 384 kB / 499 MB, free: 15.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.4385, allocations: 82.88 kB / 499.1 MB, free: 15.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.439, allocations: 428.1 kB / 499.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.439, allocations: 31.08 kB / 499.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/0.4391, allocations: 158.1 kB / 499.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.4391, allocations: 47.2 kB / 499.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.4392, allocations: 37.05 kB / 499.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4394, allocations: 341.7 kB / 0.4884 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.4395, allocations: 38.48 kB / 0.4884 GB, free: 14.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.4396, allocations: 75.03 kB / 0.4885 GB, free: 14.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.4399, allocations: 126.5 kB / 0.4886 GB, free: 14.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4399, allocations: 0 / 0.4886 GB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003777/0.4403, allocations: 182.2 kB / 0.4888 GB, free: 14.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4403, allocations: 5.656 kB / 0.4888 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4403, allocations: 0.9688 kB / 0.4888 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.4403, allocations: 6.625 kB / 0.4888 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.4405, allocations: 34.12 kB / 0.4888 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.4405, allocations: 6.047 kB / 0.4888 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.4406, allocations: 9.438 kB / 0.4888 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.4406, allocations: 5.344 kB / 0.4889 GB, free: 14.33 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001613/0.4408, allocations: 159.7 kB / 0.489 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.4408, allocations: 33.31 kB / 0.489 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.4409, allocations: 32.83 kB / 0.4891 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4409, allocations: 7.094 kB / 0.4891 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4409, allocations: 3.938 kB / 0.4891 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4409, allocations: 1.75 kB / 0.4891 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007065/0.4416, allocations: 0.6197 MB / 0.4897 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4417, allocations: 0.9688 kB / 0.4897 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.4417, allocations: 21.98 kB / 0.4897 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4417, allocations: 1.125 kB / 0.4897 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.4418, allocations: 12.69 kB / 0.4897 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.4418, allocations: 1.641 kB / 0.4897 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4418, allocations: 6.281 kB / 0.4897 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.4422, allocations: 371 kB / 0.4901 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.4422, allocations: 105.5 kB / 0.4902 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.4423, allocations: 5.422 kB / 0.4902 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.4424, allocations: 9.312 kB / 0.4902 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.4425, allocations: 10.67 kB / 0.4902 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.4425, allocations: 12.12 kB / 0.4902 GB, free: 13.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003291/0.4428, allocations: 318 kB / 0.4905 GB, free: 13.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4428, allocations: 0 / 0.4905 GB, free: 13.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.4432, allocations: 35.64 kB / 0.4906 GB, free: 13.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00106/0.4442, allocations: 487 kB / 0.491 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.4445, allocations: 119.7 kB / 0.4911 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4446, allocations: 4.125 kB / 0.4911 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.4447, allocations: 57.64 kB / 0.4912 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.4452, allocations: 61.03 kB / 0.4913 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007653/0.446, allocations: 0.4935 MB / 0.4917 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.4462, allocations: 0.7635 MB / 0.4925 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.4464, allocations: 29.17 kB / 0.4925 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.4464, allocations: 33.12 kB / 0.4925 GB, free: 11.62 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4464, allocations: 0 / 0.4925 GB, free: 11.62 MB / 382.1 MB Notification: Performance of Templates: time 0.007141/0.4536, allocations: 2.733 MB / 0.4952 GB, free: 10.77 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1)