Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006979/0.006979, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001328/0.001328, allocations: 194.3 kB / 16.67 MB, free: 5.938 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.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.3405/0.3405, allocations: 38 MB / 307.9 MB, free: 10.16 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.00149/0.00149, allocations: 83.83 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3757, allocations: 56.45 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003213/0.3789, allocations: 1.759 MB / 491.3 MB, free: 18.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3805, allocations: 0.877 MB / 492.1 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.3806, allocations: 5.094 kB / 492.1 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008719/0.3815, allocations: 315.6 kB / 492.5 MB, free: 18.02 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.0004876/0.382, allocations: 208.5 kB / 492.7 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.3825, allocations: 134.7 kB / 492.8 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.3829, allocations: 243.5 kB / 493 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.513e-05/0.383, allocations: 13.41 kB / 493 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.3832, allocations: 128.8 kB / 493.2 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.3835, allocations: 188.7 kB / 493.4 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.3835, allocations: 14.81 kB / 493.4 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.3837, allocations: 53.61 kB / 493.4 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.3839, allocations: 130 kB / 493.5 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.384, allocations: 147.3 kB / 493.7 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005497/0.3846, allocations: 364 kB / 494 MB, free: 17.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3846, allocations: 1.625 kB / 494 MB, free: 17.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.3846, allocations: 0 / 494 MB, free: 17.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.3846, allocations: 3.938 kB / 494 MB, free: 17.41 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.001027/0.3857, allocations: 0.7473 MB / 494.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3857, allocations: 13.7 kB / 494.8 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.213e-05/0.3858, allocations: 54.25 kB / 494.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.3865, allocations: 458.4 kB / 495.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.3865, allocations: 2.688 kB / 495.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.3865, allocations: 7.094 kB / 495.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.3867, allocations: 86.64 kB / 495.4 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3867, allocations: 4 kB / 495.4 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3868, allocations: 6.062 kB / 495.4 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3868, allocations: 1.531 kB / 495.4 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.3869, allocations: 30.2 kB / 495.4 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.3874, allocations: 372.6 kB / 495.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.3877, allocations: 110.3 kB / 495.9 MB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.3878, allocations: 43.14 kB / 496 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.3878, allocations: 1.188 kB / 496 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.388, allocations: 117.2 kB / 496.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.388, allocations: 0 / 496.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005245/0.3886, allocations: 198.6 kB / 496.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.3886, allocations: 78.98 kB / 496.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.3899, allocations: 1.036 MB / 497.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.39, allocations: 30.89 kB / 497.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.3901, allocations: 233 kB / 497.6 MB, free: 15.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.3902, allocations: 27.67 kB / 497.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.3902, allocations: 32.47 kB / 497.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3904, allocations: 366.2 kB / 498.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/0.3905, allocations: 26.95 kB / 498.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.3906, allocations: 68.81 kB / 498.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.3907, allocations: 88.27 kB / 498.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3908, allocations: 0 / 498.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003201/0.3911, allocations: 174.1 kB / 498.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3911, allocations: 5.891 kB / 498.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3911, allocations: 5.438 kB / 498.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3911, allocations: 1.469 kB / 498.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3913, allocations: 21.88 kB / 498.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3913, allocations: 5.375 kB / 498.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.785e-05/0.3914, allocations: 13.39 kB / 498.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.3914, allocations: 4.984 kB / 498.5 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.0002235/0.3916, allocations: 223.6 kB / 498.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.3917, allocations: 50.25 kB / 498.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.923e-05/0.3918, allocations: 63.44 kB / 498.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3918, allocations: 1.469 kB / 498.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3919, allocations: 1.281 kB / 498.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3919, allocations: 4.703 kB / 498.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.3923, allocations: 350.9 kB / 499.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3923, allocations: 1.281 kB / 499.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.3923, allocations: 7.953 kB / 499.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3923, allocations: 3.984 kB / 499.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.3924, allocations: 4.047 kB / 499.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.3924, allocations: 4.906 kB / 499.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3924, allocations: 5.094 kB / 499.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.3927, allocations: 205.6 kB / 499.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3928, allocations: 138.6 kB / 499.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.3929, allocations: 6.75 kB / 499.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.393, allocations: 10.52 kB / 499.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.393, allocations: 5.203 kB / 499.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.393, allocations: 10.77 kB / 499.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008666/0.3939, allocations: 0.7685 MB / 0.4886 GB, free: 13.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3939, allocations: 5.5 kB / 0.4886 GB, free: 13.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.3942, allocations: 41.05 kB / 0.4886 GB, free: 13.52 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.000986/0.3952, allocations: 419.2 kB / 0.489 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.3955, allocations: 85.58 kB / 0.4891 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3955, allocations: 0 / 0.4891 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.3956, allocations: 43.77 kB / 0.4891 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.0004479/0.3961, allocations: 77.94 kB / 0.4892 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.3974, allocations: 0.8634 MB / 0.4901 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.3978, allocations: 0.8405 MB / 0.4909 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.398, allocations: 68.67 kB / 0.491 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.763e-05/0.3981, allocations: 26.92 kB / 0.491 GB, free: 11.99 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3981, allocations: 0 / 0.491 GB, free: 11.99 MB / 382.1 MB Notification: Performance of Templates: time 0.01025/0.4083, allocations: 3.745 MB / 0.4946 GB, free: 11.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)