Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009014/0.009014, allocations: 98.11 kB / 15.73 MB, free: 6.023 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.001819/0.001819, allocations: 190.2 kB / 16.67 MB, free: 5.957 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.605/1.605, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.3285/0.3285, allocations: 38 MB / 307.9 MB, free: 10.12 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.001548/0.001548, allocations: 75.89 kB / 433.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3343, allocations: 56.47 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00381/0.3382, allocations: 1.664 MB / 491.2 MB, free: 18.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.3401, allocations: 0.8101 MB / 492 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.94e-05/0.3402, allocations: 4.625 kB / 492 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004092/0.3406, allocations: 37.88 kB / 492 MB, free: 18.16 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.0003163/0.3409, allocations: 58.08 kB / 492.1 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.3413, allocations: 84.8 kB / 492.2 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.3416, allocations: 95.38 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.3417, allocations: 12.06 kB / 492.3 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.3419, allocations: 41.39 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.342, allocations: 29.86 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.342, allocations: 3.312 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.3422, allocations: 42.88 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.3423, allocations: 34.39 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.946e-05/0.3424, allocations: 38.02 kB / 492.5 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.3427, allocations: 114.2 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3427, allocations: 1.062 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3427, allocations: 0 / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.3427, allocations: 0 / 492.6 MB, free: 17.89 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.0006156/0.3433, allocations: 416.7 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3434, allocations: 13.27 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.3435, allocations: 9.812 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.3438, allocations: 224.6 kB / 493.2 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3438, allocations: 5.5 kB / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.3438, allocations: 7.516 kB / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.344, allocations: 53.38 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.344, allocations: 0 / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3441, allocations: 5.344 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3441, allocations: 0.7969 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.994e-05/0.3442, allocations: 18.38 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.3446, allocations: 291.1 kB / 493.6 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.3448, allocations: 60.39 kB / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/0.3449, allocations: 19.52 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.3449, allocations: 1.719 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.3451, allocations: 70.69 kB / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.3451, allocations: 0 / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006674/0.3457, allocations: 177 kB / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.3458, allocations: 52.78 kB / 494 MB, free: 16.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.3461, allocations: 198.8 kB / 494.2 MB, free: 16.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3461, allocations: 26.83 kB / 494.2 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.3461, allocations: 103.6 kB / 494.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.3462, allocations: 26.53 kB / 494.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.3462, allocations: 26.89 kB / 494.3 MB, free: 16.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.3463, allocations: 330 kB / 494.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.3464, allocations: 21.72 kB / 494.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.846e-05/0.3465, allocations: 35.61 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3467, allocations: 61.67 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3467, allocations: 4 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002502/0.3469, allocations: 101.3 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.347, allocations: 5.562 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.347, allocations: 1.188 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.347, allocations: 0 / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.3471, allocations: 16.92 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3472, allocations: 1.438 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.3472, allocations: 14.67 kB / 494.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.3473, allocations: 2.5 kB / 494.9 MB, free: 15.87 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.0001021/0.3474, allocations: 129.6 kB / 495.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.3474, allocations: 9.484 kB / 495.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.3475, allocations: 19.94 kB / 495.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3475, allocations: 2.297 kB / 495.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3475, allocations: 4 kB / 495.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3475, allocations: 3.938 kB / 495.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.348, allocations: 395.3 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.348, allocations: 1.344 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.3481, allocations: 12.11 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3481, allocations: 5.812 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.3481, allocations: 10.47 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3481, allocations: 1.297 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3481, allocations: 0.7031 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.3484, allocations: 201.5 kB / 495.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.3484, allocations: 97.11 kB / 495.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.3485, allocations: 10.17 kB / 495.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3486, allocations: 2.469 kB / 495.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.3486, allocations: 5.703 kB / 495.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.3487, allocations: 4.359 kB / 495.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.3489, allocations: 156.2 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3489, allocations: 0 / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.3493, allocations: 25.84 kB / 496 MB, free: 14.97 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.001429/0.3507, allocations: 467.9 kB / 496.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.351, allocations: 56.25 kB / 496.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.351, allocations: 0 / 496.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.3511, allocations: 36.91 kB / 496.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.3517, allocations: 30.75 kB / 496.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.3523, allocations: 233.6 kB / 496.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.3526, allocations: 0.7027 MB / 497.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.371e-05/0.3526, allocations: 26.11 kB / 497.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.3527, allocations: 15.59 kB / 497.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3527, allocations: 3.938 kB / 497.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of Templates: time 0.006761/0.3595, allocations: 1.707 MB / 499.3 MB, free: 13.47 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)