Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008147/0.008147, allocations: 101.9 kB / 15.73 MB, free: 6 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.001455/0.001455, allocations: 196.3 kB / 16.68 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.484 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.3651/0.3651, allocations: 39.94 MB / 309.8 MB, free: 9.398 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.001702/0.001702, allocations: 75.91 kB / 435.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4147, allocations: 56.87 MB / 492.7 MB, free: 19.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.004014/0.4188, allocations: 1.692 MB / 494.4 MB, free: 18.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.4206, allocations: 0.807 MB / 495.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.4207, allocations: 1.188 kB / 495.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.4212, allocations: 46.16 kB / 495.3 MB, free: 17.96 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.0002777/0.4215, allocations: 57.23 kB / 495.3 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.4218, allocations: 88.28 kB / 495.4 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.422, allocations: 94.33 kB / 495.5 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.4222, allocations: 12.8 kB / 495.5 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.4223, allocations: 44.47 kB / 495.6 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.4224, allocations: 27.52 kB / 495.6 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.4225, allocations: 7.344 kB / 495.6 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.4226, allocations: 49.84 kB / 495.6 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.4227, allocations: 21.66 kB / 495.7 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.4228, allocations: 45.72 kB / 495.7 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.4231, allocations: 120.8 kB / 495.8 MB, free: 17.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4231, allocations: 0 / 495.8 MB, free: 17.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4231, allocations: 0 / 495.8 MB, free: 17.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.4231, allocations: 0.5625 kB / 495.8 MB, free: 17.68 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.0006308/0.4237, allocations: 425.1 kB / 496.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.86e-05/0.4238, allocations: 14.11 kB / 496.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.4239, allocations: 14.16 kB / 496.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.4243, allocations: 220.5 kB / 496.5 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4243, allocations: 1.875 kB / 496.5 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.4243, allocations: 6.547 kB / 496.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.4245, allocations: 55.14 kB / 496.5 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4245, allocations: 0 / 496.5 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.4245, allocations: 0.8906 kB / 496.5 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.4246, allocations: 1.406 kB / 496.5 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.729e-05/0.4247, allocations: 21.41 kB / 496.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.4251, allocations: 297.8 kB / 496.9 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.4253, allocations: 53.38 kB / 496.9 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.895e-05/0.4254, allocations: 19.03 kB / 496.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.4254, allocations: 1.531 kB / 496.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.4256, allocations: 73.91 kB / 497 MB, free: 16.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4256, allocations: 0 / 497 MB, free: 16.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007123/0.4263, allocations: 189.9 kB / 497.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.4264, allocations: 52.59 kB / 497.2 MB, free: 16.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.4267, allocations: 220.3 kB / 497.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.4268, allocations: 27.11 kB / 497.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.4269, allocations: 104.9 kB / 497.6 MB, free: 16.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.4269, allocations: 25.89 kB / 497.6 MB, free: 16.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.427, allocations: 29.66 kB / 497.6 MB, free: 16.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4271, allocations: 327.5 kB / 498 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.75e-05/0.4272, allocations: 22.03 kB / 498 MB, free: 15.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8e-05/0.4272, allocations: 35.7 kB / 498 MB, free: 15.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.4274, allocations: 57.94 kB / 498.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4274, allocations: 192 / 498.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002222/0.4276, allocations: 105.1 kB / 498.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.4277, allocations: 10.02 kB / 498.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4277, allocations: 1.062 kB / 498.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4277, allocations: 1.062 kB / 498.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.4279, allocations: 19.44 kB / 498.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.4279, allocations: 5.406 kB / 498.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.4279, allocations: 5.891 kB / 498.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.428, allocations: 3.703 kB / 498.2 MB, free: 15.64 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 0.000124/0.4281, allocations: 137 kB / 498.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.4281, allocations: 10.72 kB / 498.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.19e-05/0.4282, allocations: 16.69 kB / 498.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4282, allocations: 1.969 kB / 498.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.4282, allocations: 0 / 498.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.4282, allocations: 5.906 kB / 498.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005626/0.4288, allocations: 401.2 kB / 498.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4288, allocations: 0.7031 kB / 498.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.4289, allocations: 8.812 kB / 498.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.4289, allocations: 6.047 kB / 498.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.4289, allocations: 6.156 kB / 498.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.4289, allocations: 5.219 kB / 498.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.4289, allocations: 0 / 498.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.4292, allocations: 206.2 kB / 499 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.4293, allocations: 89.02 kB / 499.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.4293, allocations: 9.656 kB / 499.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.4294, allocations: 3.766 kB / 499.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.4295, allocations: 9.797 kB / 499.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.4295, allocations: 4.453 kB / 499.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.4297, allocations: 170.2 kB / 499.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4297, allocations: 1.312 kB / 499.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.43, allocations: 26.33 kB / 499.3 MB, free: 14.73 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.001253/0.4313, allocations: 474.7 kB / 499.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.4315, allocations: 55.98 kB / 499.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4315, allocations: 1.125 kB / 499.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.392e-05/0.4316, allocations: 27.72 kB / 499.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.432, allocations: 36.44 kB / 499.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.4326, allocations: 256.1 kB / 0.4884 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.4328, allocations: 0.7058 MB / 0.4891 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.127e-05/0.4329, allocations: 22 kB / 0.4891 GB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.4329, allocations: 15.81 kB / 0.4891 GB, free: 13.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.442e-06/0.4329, allocations: 1.375 kB / 0.4891 GB, free: 13.43 MB / 382.1 MB Notification: Performance of Templates: time 0.006277/0.4392, allocations: 1.74 MB / 0.4908 GB, free: 13.22 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1)