Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007819/0.007819, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001448/0.001448, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.718/1.718, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3451/0.3451, allocations: 39.94 MB / 309.8 MB, free: 9.461 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.2. 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.001402/0.001402, allocations: 71.91 kB / 435.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3415, allocations: 56.87 MB / 492.7 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00428/0.3458, allocations: 2.008 MB / 494.7 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3475, allocations: 0.8948 MB / 495.6 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.3476, allocations: 1.156 kB / 495.6 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.3481, allocations: 53.31 kB / 495.7 MB, free: 17.43 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.0002723/0.3483, allocations: 72.33 kB / 495.7 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.3487, allocations: 117.5 kB / 495.8 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.349, allocations: 195 kB / 496 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3491, allocations: 38.5 kB / 496.1 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.3493, allocations: 85.28 kB / 496.2 MB, free: 17.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.3494, allocations: 78.28 kB / 496.2 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.3495, allocations: 11.31 kB / 496.2 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.3496, allocations: 50.3 kB / 496.3 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.3497, allocations: 42.83 kB / 496.3 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.25e-05/0.3498, allocations: 71.67 kB / 496.4 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.3501, allocations: 190.4 kB / 496.6 MB, free: 16.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3501, allocations: 0 / 496.6 MB, free: 16.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3501, allocations: 0 / 496.6 MB, free: 16.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.3502, allocations: 0 / 496.6 MB, free: 16.97 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009104/0.3511, allocations: 0.5635 MB / 497.2 MB, free: 16.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3511, allocations: 17.2 kB / 497.2 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.143e-05/0.3512, allocations: 19.02 kB / 497.2 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.3515, allocations: 254.4 kB / 497.4 MB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3516, allocations: 12.44 kB / 497.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.3516, allocations: 10.64 kB / 497.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.3521, allocations: 155.1 kB / 497.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3521, allocations: 0 / 497.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.3521, allocations: 2.859 kB / 497.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.3521, allocations: 2.844 kB / 497.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.3526, allocations: 116.2 kB / 497.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006287/0.3533, allocations: 0.5366 MB / 498.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.354, allocations: 169.8 kB / 498.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.3543, allocations: 69.44 kB / 498.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.3543, allocations: 2.219 kB / 498.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004117/0.3547, allocations: 136.6 kB / 498.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.3547, allocations: 1.125 kB / 498.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009391/0.3557, allocations: 258.2 kB / 498.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.3557, allocations: 62.39 kB / 499 MB, free: 15.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.356, allocations: 220.2 kB / 499.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.356, allocations: 33.27 kB / 499.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.3561, allocations: 124.8 kB / 499.3 MB, free: 14.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.3562, allocations: 36.42 kB / 499.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.3562, allocations: 37.02 kB / 499.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.3563, allocations: 330.8 kB / 499.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.3566, allocations: 67.61 kB / 499.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.3569, allocations: 109 kB / 499.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.3574, allocations: 191.1 kB / 0.4884 GB, free: 14.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3574, allocations: 1.094 kB / 0.4884 GB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006274/0.358, allocations: 255.8 kB / 0.4886 GB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.3581, allocations: 33.61 kB / 0.4886 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3581, allocations: 8.875 kB / 0.4886 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.3581, allocations: 2.094 kB / 0.4886 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.3583, allocations: 46.11 kB / 0.4887 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.3583, allocations: 2.719 kB / 0.4887 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.3585, allocations: 32.27 kB / 0.4887 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.3586, allocations: 10.03 kB / 0.4887 GB, free: 14.24 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001042/0.3587, allocations: 132.5 kB / 0.4889 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.3587, allocations: 16.55 kB / 0.4889 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.3588, allocations: 26.05 kB / 0.4889 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3588, allocations: 5.344 kB / 0.4889 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3588, allocations: 0 / 0.4889 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3588, allocations: 0.8906 kB / 0.4889 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.359, allocations: 238.2 kB / 0.4891 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.359, allocations: 1.766 kB / 0.4891 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.3591, allocations: 23.17 kB / 0.4892 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3591, allocations: 0 / 0.4892 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.3592, allocations: 11.67 kB / 0.4892 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3592, allocations: 3.938 kB / 0.4892 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3592, allocations: 1.188 kB / 0.4892 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/0.36, allocations: 304.2 kB / 0.4895 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.3601, allocations: 98.09 kB / 0.4896 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.3601, allocations: 8.219 kB / 0.4896 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.3603, allocations: 26.45 kB / 0.4896 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.615e-05/0.3604, allocations: 16.69 kB / 0.4896 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.3604, allocations: 4.453 kB / 0.4896 GB, free: 13.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.3606, allocations: 167.6 kB / 0.4898 GB, free: 13.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3606, allocations: 1.062 kB / 0.4898 GB, free: 13.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3608, allocations: 40.41 kB / 0.4898 GB, free: 13.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009492/0.3618, allocations: 412 kB / 0.4902 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005953/0.3624, allocations: 229.4 kB / 0.4904 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3624, allocations: 0 / 0.4904 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.3627, allocations: 75.66 kB / 0.4905 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.363, allocations: 58.09 kB / 0.4905 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.3638, allocations: 308.8 kB / 0.4908 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.3641, allocations: 0.7252 MB / 0.4915 GB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.968e-05/0.3642, allocations: 21.28 kB / 0.4916 GB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.3642, allocations: 20.45 kB / 0.4916 GB, free: 12.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3642, allocations: 0 / 0.4916 GB, free: 12.09 MB / 382.1 MB Notification: Performance of Templates: time 0.007215/0.3715, allocations: 2.817 MB / 0.4943 GB, free: 11.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)