Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0109/0.0109, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001936/0.001937, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.784/1.784, allocations: 205.1 MB / 222.6 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.384/0.384, allocations: 38 MB / 307.9 MB, free: 10.15 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.001591/0.001592, allocations: 76.38 kB / 433.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3695, allocations: 56.46 MB / 489.5 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003955/0.3735, allocations: 1.666 MB / 491.2 MB, free: 18.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.3751, allocations: 0.8042 MB / 492 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.3753, allocations: 1.062 kB / 492 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.3757, allocations: 42.25 kB / 492 MB, free: 18.34 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.0003344/0.376, allocations: 54.3 kB / 492.1 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.3764, allocations: 84.61 kB / 492.2 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.3766, allocations: 95.84 kB / 492.3 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3767, allocations: 15.22 kB / 492.3 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.3768, allocations: 45.88 kB / 492.3 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.454e-05/0.3769, allocations: 25.94 kB / 492.3 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.377, allocations: 3.188 kB / 492.3 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.3771, allocations: 46.19 kB / 492.4 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.3772, allocations: 18.19 kB / 492.4 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.3772, allocations: 37.91 kB / 492.4 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.3775, allocations: 115.2 kB / 492.6 MB, free: 18.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3775, allocations: 0 / 492.6 MB, free: 18.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3775, allocations: 4 kB / 492.6 MB, free: 18.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3775, allocations: 1.062 kB / 492.6 MB, free: 18.07 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.0005933/0.3781, allocations: 404.9 kB / 493 MB, free: 17.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3782, allocations: 13.42 kB / 493 MB, free: 17.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.3783, allocations: 14.16 kB / 493 MB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.3786, allocations: 202.9 kB / 493.2 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.3786, allocations: 1.469 kB / 493.2 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.3787, allocations: 18.39 kB / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.3789, allocations: 57.58 kB / 493.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.3789, allocations: 5.031 kB / 493.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.3789, allocations: 0.6562 kB / 493.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3789, allocations: 1.25 kB / 493.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.372e-05/0.379, allocations: 21.7 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.3795, allocations: 286.6 kB / 493.6 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.3797, allocations: 59.77 kB / 493.6 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.691e-05/0.3797, allocations: 21.05 kB / 493.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.3798, allocations: 1.344 kB / 493.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.3799, allocations: 69.08 kB / 493.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.38, allocations: 0.9688 kB / 493.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005752/0.3805, allocations: 175.6 kB / 493.9 MB, free: 16.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.3806, allocations: 53.3 kB / 493.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.3807, allocations: 184.8 kB / 494.1 MB, free: 16.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.3808, allocations: 26.83 kB / 494.1 MB, free: 16.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.3808, allocations: 99.17 kB / 494.2 MB, free: 16.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.3809, allocations: 30.12 kB / 494.3 MB, free: 16.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.3809, allocations: 22.09 kB / 494.3 MB, free: 16.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.381, allocations: 329.8 kB / 494.6 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.381, allocations: 26.28 kB / 494.6 MB, free: 16.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.047e-05/0.3811, allocations: 36.25 kB / 494.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.3812, allocations: 57.23 kB / 494.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3812, allocations: 0 / 494.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001808/0.3814, allocations: 97.8 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3814, allocations: 4.562 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3814, allocations: 5.766 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3815, allocations: 0 / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.3816, allocations: 20.23 kB / 494.9 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3816, allocations: 1.875 kB / 494.9 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.081e-05/0.3816, allocations: 10.86 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.3816, allocations: 6.281 kB / 494.9 MB, free: 16.07 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 8.203e-05/0.3817, allocations: 129.3 kB / 495 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.3818, allocations: 10.05 kB / 495 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.3818, allocations: 14.05 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3818, allocations: 5.125 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-05/0.3819, allocations: 1.594 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3819, allocations: 4.453 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.3823, allocations: 385.6 kB / 495.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3823, allocations: 1.25 kB / 495.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.3823, allocations: 15.81 kB / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3823, allocations: 1.781 kB / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3823, allocations: 6.766 kB / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3824, allocations: 5.391 kB / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3824, allocations: 0.6094 kB / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.3826, allocations: 213.1 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.3826, allocations: 84.36 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.3826, allocations: 6.562 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.3827, allocations: 3.516 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.3828, allocations: 9.453 kB / 495.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.3828, allocations: 8.109 kB / 495.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.3829, allocations: 142.9 kB / 495.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3829, allocations: 0.875 kB / 495.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000289/0.3832, allocations: 26.77 kB / 495.9 MB, free: 15.18 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.0009734/0.3842, allocations: 467.9 kB / 496.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3844, allocations: 64.83 kB / 496.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3844, allocations: 1.125 kB / 496.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/0.3845, allocations: 27.86 kB / 496.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3849, allocations: 42.23 kB / 496.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.3853, allocations: 221.6 kB / 496.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.3855, allocations: 0.7013 MB / 497.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.156e-05/0.3856, allocations: 20.64 kB / 497.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.3856, allocations: 24.12 kB / 497.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3856, allocations: 5.156 kB / 497.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of Templates: time 0.004967/0.3906, allocations: 1.689 MB / 499.2 MB, free: 13.69 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1)