Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009609/0.00961, 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.001841/0.001841, 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.717/1.717, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.3618/0.3618, allocations: 37.99 MB / 307.9 MB, free: 10.02 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.001608/0.001608, allocations: 71.91 kB / 433.1 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3764, allocations: 56.46 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003218/0.3797, allocations: 1.672 MB / 491.2 MB, free: 18.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3811, allocations: 0.8095 MB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.665e-05/0.3812, allocations: 1.406 kB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.3816, allocations: 49.7 kB / 492 MB, free: 18.22 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.0002573/0.3818, allocations: 52.31 kB / 492.1 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.3821, allocations: 84.38 kB / 492.2 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.3823, allocations: 92.23 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3825, allocations: 23.75 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3826, allocations: 41.25 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.99e-05/0.3827, allocations: 30.8 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.3827, allocations: 3.969 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.3829, allocations: 45.66 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.3829, allocations: 21.25 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.383, allocations: 34.62 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.3833, allocations: 123.2 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3833, allocations: 1.062 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3833, allocations: 4 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.3833, allocations: 0 / 492.6 MB, free: 17.96 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.000669/0.384, allocations: 425.6 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.3841, allocations: 14.06 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.3841, allocations: 14.56 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.3845, allocations: 207.5 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.3845, allocations: 7.469 kB / 493.2 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.3846, allocations: 10 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.3848, allocations: 57.52 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.3848, allocations: 1.125 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.3848, allocations: 0 / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3848, allocations: 5.766 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.323e-05/0.3849, allocations: 26.05 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.3854, allocations: 289.6 kB / 493.6 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3856, allocations: 59.89 kB / 493.7 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.3856, allocations: 20.72 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.3857, allocations: 0.9688 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.3858, allocations: 73.59 kB / 493.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3859, allocations: 0 / 493.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006586/0.3865, allocations: 178 kB / 493.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.3866, allocations: 61.56 kB / 494 MB, free: 16.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.3869, allocations: 220.1 kB / 494.2 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.3869, allocations: 25.7 kB / 494.2 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.387, allocations: 109 kB / 494.4 MB, free: 16.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.387, allocations: 23.16 kB / 494.4 MB, free: 16.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.387, allocations: 25.67 kB / 494.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.3871, allocations: 328.1 kB / 494.7 MB, free: 16.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.3872, allocations: 25.34 kB / 494.7 MB, free: 16.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.3873, allocations: 35.11 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.3874, allocations: 57.47 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3874, allocations: 0 / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.3876, allocations: 110.6 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3876, allocations: 5.578 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.3876, allocations: 1.625 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3877, allocations: 4.031 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3878, allocations: 16.05 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3878, allocations: 0.75 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.3879, allocations: 6.656 kB / 495 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.3879, allocations: 3.156 kB / 495 MB, free: 15.91 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.0001013/0.388, allocations: 129.4 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.388, allocations: 14.84 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.3881, allocations: 16.11 kB / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.3881, allocations: 5.609 kB / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3881, allocations: 5.969 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.3881, allocations: 4.5 kB / 495.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.3886, allocations: 389 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3886, allocations: 0.5156 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.3887, allocations: 17.25 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3887, allocations: 1.156 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.3887, allocations: 11.06 kB / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3887, allocations: 0 / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3887, allocations: 6.359 kB / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.389, allocations: 209.4 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.3891, allocations: 85.47 kB / 495.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.3891, allocations: 9.953 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.3892, allocations: 3.656 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.3892, allocations: 9.266 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.3893, allocations: 11.22 kB / 495.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.3895, allocations: 172.6 kB / 496.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3895, allocations: 0 / 496.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.3898, allocations: 22.67 kB / 496.1 MB, free: 15 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.001263/0.391, allocations: 470.9 kB / 496.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.3913, allocations: 60.97 kB / 496.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3913, allocations: 0 / 496.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.407e-05/0.3914, allocations: 24.98 kB / 496.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.3918, allocations: 30.78 kB / 496.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.3923, allocations: 263.6 kB / 496.9 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.3925, allocations: 0.7065 MB / 497.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.743e-05/0.3926, allocations: 17.58 kB / 497.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.3926, allocations: 16.94 kB / 497.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3926, allocations: 0 / 497.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of Templates: time 0.00561/0.3982, allocations: 1.721 MB / 499.4 MB, free: 13.51 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1)