Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01148/0.01148, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.002458/0.002458, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.66/1.66, allocations: 205.1 MB / 222.6 MB, free: 4.375 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.3631/0.3631, allocations: 37.99 MB / 307.9 MB, free: 10.42 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.001633/0.001633, allocations: 75.91 kB / 433.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3331, allocations: 56.47 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003275/0.3364, allocations: 1.663 MB / 491.2 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3378, allocations: 0.8088 MB / 492 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.159e-05/0.3379, allocations: 1.312 kB / 492 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.3384, allocations: 84.94 kB / 492.1 MB, free: 18.21 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.0003193/0.3387, allocations: 73.78 kB / 492.2 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.3391, allocations: 92.25 kB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.3395, allocations: 110 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.3397, allocations: 10.92 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.3398, allocations: 51.83 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.34, allocations: 56.14 kB / 492.5 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.3401, allocations: 3.156 kB / 492.5 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.3403, allocations: 44.09 kB / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.3404, allocations: 23.84 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.916e-05/0.3405, allocations: 39.77 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.3408, allocations: 115.3 kB / 492.7 MB, free: 17.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3409, allocations: 0 / 492.7 MB, free: 17.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3409, allocations: 1.156 kB / 492.7 MB, free: 17.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.3409, allocations: 0 / 492.7 MB, free: 17.94 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.000773/0.3417, allocations: 420.5 kB / 493.1 MB, free: 17.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.3417, allocations: 13.52 kB / 493.1 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.3418, allocations: 9.156 kB / 493.1 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.3422, allocations: 216.6 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.3422, allocations: 5.438 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.3422, allocations: 10.47 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3424, allocations: 57.95 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3424, allocations: 1.188 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3425, allocations: 1.078 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3425, allocations: 1.156 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.247e-05/0.3426, allocations: 18.3 kB / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.343, allocations: 288.7 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.3432, allocations: 60.47 kB / 493.8 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.3432, allocations: 19.2 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.3433, allocations: 1.812 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.3435, allocations: 65.42 kB / 493.8 MB, free: 16.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3435, allocations: 4 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000585/0.3441, allocations: 177.7 kB / 494 MB, free: 16.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.3441, allocations: 53.05 kB / 494.1 MB, free: 16.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.3444, allocations: 218.4 kB / 494.3 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.3444, allocations: 31.45 kB / 494.3 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.3444, allocations: 107.8 kB / 494.4 MB, free: 16.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.3445, allocations: 26.91 kB / 494.5 MB, free: 16.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.3445, allocations: 21.12 kB / 494.5 MB, free: 16.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.064e-05/0.3446, allocations: 335.3 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/0.3446, allocations: 22.38 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.04e-05/0.3447, allocations: 34.33 kB / 494.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.3448, allocations: 57.94 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3448, allocations: 0 / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001764/0.345, allocations: 101.4 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.345, allocations: 6.031 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.345, allocations: 1.031 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3451, allocations: 1.031 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.3452, allocations: 15.3 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3452, allocations: 1.5 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.3452, allocations: 10.97 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.3453, allocations: 2.5 kB / 495.1 MB, free: 15.92 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 9.548e-05/0.3454, allocations: 137 kB / 495.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3454, allocations: 17.53 kB / 495.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.3454, allocations: 17.36 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3454, allocations: 384 / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3454, allocations: 0.75 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3455, allocations: 4.547 kB / 495.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/0.3459, allocations: 400.5 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3459, allocations: 1.828 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.3459, allocations: 8.172 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3459, allocations: 5.375 kB / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3459, allocations: 5.797 kB / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3459, allocations: 1.094 kB / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3459, allocations: 1.062 kB / 495.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.3462, allocations: 204.8 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.3462, allocations: 85.92 kB / 495.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.3462, allocations: 9.766 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.3463, allocations: 4.219 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.3464, allocations: 12.78 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.3464, allocations: 4.828 kB / 496 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.3465, allocations: 155.5 kB / 496.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3466, allocations: 0 / 496.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.3468, allocations: 30.53 kB / 496.1 MB, free: 15.01 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.001153/0.348, allocations: 465.6 kB / 496.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.3482, allocations: 63.7 kB / 496.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3483, allocations: 1.125 kB / 496.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.3483, allocations: 32.53 kB / 496.7 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.0003526/0.3487, allocations: 30.12 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.0004664/0.3492, allocations: 243 kB / 497 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.3493, allocations: 0.7051 MB / 497.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.234e-05/0.3494, allocations: 20.42 kB / 497.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.3494, allocations: 16.73 kB / 497.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3494, allocations: 3.938 kB / 497.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of Templates: time 0.004997/0.3544, allocations: 1.711 MB / 499.4 MB, free: 13.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)