Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009097/0.009097, allocations: 95.92 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.002453/0.002453, allocations: 202.3 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.818/1.818, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.4282/0.4282, allocations: 37.99 MB / 307.9 MB, free: 10.07 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.002859/0.002859, allocations: 71.91 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3678, allocations: 56.47 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002932/0.3708, allocations: 1.767 MB / 491.3 MB, free: 18.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.372, allocations: 0.874 MB / 492.2 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.569e-05/0.3721, allocations: 1.125 kB / 492.2 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005268/0.3727, allocations: 318.4 kB / 492.5 MB, free: 17.98 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.0003638/0.3731, allocations: 201.9 kB / 492.7 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.3734, allocations: 138.8 kB / 492.8 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.3737, allocations: 246.5 kB / 493 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.3738, allocations: 15.06 kB / 493.1 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3739, allocations: 128.1 kB / 493.2 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.3741, allocations: 185.1 kB / 493.4 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.3742, allocations: 5.875 kB / 493.4 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.3743, allocations: 49.94 kB / 493.4 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.3745, allocations: 145.8 kB / 493.6 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.3746, allocations: 147 kB / 493.7 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.375, allocations: 372.3 kB / 494.1 MB, free: 17.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.375, allocations: 0 / 494.1 MB, free: 17.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.375, allocations: 0.8125 kB / 494.1 MB, free: 17.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.375, allocations: 0.6562 kB / 494.1 MB, free: 17.37 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008215/0.3759, allocations: 0.744 MB / 494.8 MB, free: 16.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3759, allocations: 13.39 kB / 494.8 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.376, allocations: 54.47 kB / 494.9 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.3765, allocations: 453.7 kB / 495.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3765, allocations: 2.109 kB / 495.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3765, allocations: 12.12 kB / 495.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3767, allocations: 79.53 kB / 495.4 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3767, allocations: 0 / 495.4 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3768, allocations: 4 kB / 495.4 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3768, allocations: 6.047 kB / 495.4 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.3769, allocations: 29.27 kB / 495.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.3773, allocations: 377.8 kB / 495.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.3775, allocations: 109.8 kB / 495.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.616e-05/0.3776, allocations: 42.69 kB / 496 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.3776, allocations: 5.094 kB / 496 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.3778, allocations: 110.1 kB / 496.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.3779, allocations: 4 kB / 496.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004487/0.3783, allocations: 194.7 kB / 496.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.3784, allocations: 83.12 kB / 496.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.3794, allocations: 1.035 MB / 497.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.3794, allocations: 27.69 kB / 497.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3796, allocations: 233.2 kB / 497.6 MB, free: 15.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.3796, allocations: 26.41 kB / 497.7 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.3796, allocations: 29.64 kB / 497.7 MB, free: 15.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.3797, allocations: 373 kB / 498.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.382e-05/0.3798, allocations: 27.95 kB / 498.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.194e-05/0.3799, allocations: 60.41 kB / 498.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.3801, allocations: 93.72 kB / 498.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3801, allocations: 4 kB / 498.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002606/0.3804, allocations: 168.2 kB / 498.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3804, allocations: 9.906 kB / 498.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3804, allocations: 1.594 kB / 498.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3804, allocations: 2.469 kB / 498.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3805, allocations: 27.89 kB / 498.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3806, allocations: 2.141 kB / 498.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.2e-05/0.3807, allocations: 14.22 kB / 498.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3807, allocations: 4.547 kB / 498.5 MB, free: 14.49 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001789/0.3809, allocations: 227.6 kB / 498.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.3809, allocations: 51.08 kB / 498.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.584e-05/0.381, allocations: 57.72 kB / 498.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.381, allocations: 1.375 kB / 498.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.381, allocations: 1.344 kB / 498.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.381, allocations: 2.062 kB / 498.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.3813, allocations: 355.4 kB / 499.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3813, allocations: 0 / 499.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.3814, allocations: 11.67 kB / 499.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3814, allocations: 1.188 kB / 499.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.3814, allocations: 7.422 kB / 499.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3814, allocations: 1.75 kB / 499.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3814, allocations: 0 / 499.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.3817, allocations: 210.6 kB / 499.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-05/0.3818, allocations: 138 kB / 499.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.3818, allocations: 3.312 kB / 499.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.3819, allocations: 8.672 kB / 499.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.382, allocations: 12.05 kB / 499.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.382, allocations: 5.031 kB / 499.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008383/0.3829, allocations: 0.7693 MB / 0.4886 GB, free: 13.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3829, allocations: 0 / 0.4886 GB, free: 13.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.3832, allocations: 41.58 kB / 0.4886 GB, free: 13.49 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009147/0.3841, allocations: 424 kB / 0.489 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.3844, allocations: 81.25 kB / 0.4891 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3844, allocations: 0 / 0.4891 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3845, allocations: 40.33 kB / 0.4891 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.385, allocations: 82.23 kB / 0.4892 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.3864, allocations: 0.8668 MB / 0.4901 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.3868, allocations: 0.8403 MB / 0.4909 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.3869, allocations: 59.78 kB / 0.4909 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.387, allocations: 36.86 kB / 0.491 GB, free: 11.95 MB / 382.1 MB Notification: Performance of SimCode: time 6.62e-07/0.387, allocations: 3.938 kB / 0.491 GB, free: 11.95 MB / 382.1 MB Notification: Performance of Templates: time 0.01063/0.3977, allocations: 3.737 MB / 0.4946 GB, free: 11.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)