Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008908/0.008909, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.001443/0.001443, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.707/1.707, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.3452/0.3452, allocations: 38 MB / 307.9 MB, free: 10.05 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.001645/0.001645, allocations: 75.89 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3677, allocations: 56.46 MB / 489.5 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003514/0.3713, allocations: 1.764 MB / 491.3 MB, free: 18.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.373, allocations: 0.8846 MB / 492.2 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.742e-05/0.3731, allocations: 1.188 kB / 492.2 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000684/0.3738, allocations: 297.1 kB / 492.4 MB, free: 17.95 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.0004289/0.3742, allocations: 206 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.3746, allocations: 136.1 kB / 492.8 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.3749, allocations: 244.4 kB / 493 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.088e-05/0.375, allocations: 14.03 kB / 493 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.3752, allocations: 126.9 kB / 493.2 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.3755, allocations: 185.5 kB / 493.3 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.3755, allocations: 6.844 kB / 493.3 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.3757, allocations: 49.22 kB / 493.4 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.3758, allocations: 126.5 kB / 493.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.376, allocations: 151 kB / 493.7 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005221/0.3765, allocations: 350.4 kB / 494 MB, free: 17.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3765, allocations: 4.547 kB / 494 MB, free: 17.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3765, allocations: 5.094 kB / 494 MB, free: 17.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.3766, allocations: 0 / 494 MB, free: 17.34 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.001034/0.3776, allocations: 0.7144 MB / 494.7 MB, free: 16.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3777, allocations: 14.67 kB / 494.7 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.878e-05/0.3778, allocations: 48.47 kB / 494.8 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006445/0.3784, allocations: 445.9 kB / 495.2 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.3784, allocations: 3.438 kB / 495.2 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3785, allocations: 11.05 kB / 495.2 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.3787, allocations: 86.38 kB / 495.3 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3787, allocations: 0 / 495.3 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3787, allocations: 1.812 kB / 495.3 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3787, allocations: 1.312 kB / 495.3 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.3789, allocations: 37.73 kB / 495.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.3793, allocations: 369.6 kB / 495.7 MB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.3796, allocations: 105.2 kB / 495.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3797, allocations: 43.09 kB / 495.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3798, allocations: 1.188 kB / 495.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.38, allocations: 113.9 kB / 496 MB, free: 15.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.38, allocations: 5.25 kB / 496 MB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005137/0.3805, allocations: 191.8 kB / 496.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.3806, allocations: 83.97 kB / 496.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.3818, allocations: 1.014 MB / 497.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3818, allocations: 27.08 kB / 497.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.382, allocations: 227.6 kB / 497.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.382, allocations: 23.66 kB / 497.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.3821, allocations: 28.45 kB / 497.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3822, allocations: 366 kB / 497.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/0.3823, allocations: 27.34 kB / 498 MB, free: 14.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.746e-05/0.3824, allocations: 64.78 kB / 498 MB, free: 14.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.3826, allocations: 87.61 kB / 498.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3826, allocations: 0 / 498.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002983/0.3829, allocations: 172.8 kB / 498.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3829, allocations: 9.438 kB / 498.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3829, allocations: 1.375 kB / 498.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.383, allocations: 2.109 kB / 498.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.3831, allocations: 24.92 kB / 498.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3831, allocations: 1.281 kB / 498.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.3832, allocations: 15 kB / 498.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.3832, allocations: 3.562 kB / 498.3 MB, free: 14.52 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.000228/0.3835, allocations: 221.8 kB / 498.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.3836, allocations: 54.58 kB / 498.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.3837, allocations: 55.98 kB / 498.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3837, allocations: 2.922 kB / 498.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3837, allocations: 0 / 498.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3837, allocations: 5.625 kB / 498.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.3841, allocations: 336 kB / 499 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3841, allocations: 0 / 499 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.3842, allocations: 12.41 kB / 499 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.3842, allocations: 9.172 kB / 499 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3842, allocations: 2.969 kB / 499 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3842, allocations: 1.5 kB / 499 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3842, allocations: 4.75 kB / 499 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.3846, allocations: 206 kB / 499.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.3848, allocations: 132.2 kB / 499.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.3849, allocations: 7.453 kB / 499.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.3849, allocations: 4.172 kB / 499.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.385, allocations: 11.83 kB / 499.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.385, allocations: 5.406 kB / 499.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001072/0.3861, allocations: 0.7499 MB / 0.4884 GB, free: 13.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3861, allocations: 0 / 0.4884 GB, free: 13.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.3865, allocations: 44.75 kB / 0.4884 GB, free: 13.53 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.001101/0.3876, allocations: 424.2 kB / 0.4889 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.3879, allocations: 88.58 kB / 0.4889 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3879, allocations: 1.25 kB / 0.4889 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.388, allocations: 39.25 kB / 0.489 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.3885, allocations: 73.86 kB / 0.489 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3898, allocations: 0.8466 MB / 0.4899 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.3903, allocations: 0.8379 MB / 0.4907 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.3904, allocations: 58.56 kB / 0.4907 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.528e-05/0.3905, allocations: 32.06 kB / 0.4908 GB, free: 12.01 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3905, allocations: 1.438 kB / 0.4908 GB, free: 12.01 MB / 382.1 MB Notification: Performance of Templates: time 0.01053/0.4011, allocations: 3.681 MB / 0.4944 GB, free: 11.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)