Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008232/0.008232, allocations: 100.6 kB / 15.73 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.001431/0.001431, allocations: 196.4 kB / 16.67 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.698/1.698, allocations: 205.1 MB / 222.5 MB, free: 4.312 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.3215/0.3215, allocations: 38.01 MB / 307.9 MB, free: 10.41 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.00162/0.00162, allocations: 68.47 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.347, allocations: 56.45 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002934/0.35, allocations: 1.677 MB / 491.2 MB, free: 18.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.3514, allocations: 0.8088 MB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.63e-05/0.3515, allocations: 1.156 kB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.3519, allocations: 54.53 kB / 492 MB, free: 18.14 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.0002569/0.3521, allocations: 53.94 kB / 492.1 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.3524, allocations: 88.98 kB / 492.2 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.3526, allocations: 94.5 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.3528, allocations: 17.16 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3529, allocations: 40.45 kB / 492.3 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.353, allocations: 34.03 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.353, allocations: 4.719 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3531, allocations: 42.05 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.529e-05/0.3532, allocations: 24.09 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.125e-05/0.3533, allocations: 50.23 kB / 492.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.3536, allocations: 132.6 kB / 492.6 MB, free: 17.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3536, allocations: 1.062 kB / 492.6 MB, free: 17.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3536, allocations: 0 / 492.6 MB, free: 17.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3536, allocations: 0 / 492.6 MB, free: 17.86 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.0007899/0.3544, allocations: 442.4 kB / 493 MB, free: 17.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.65e-05/0.3545, allocations: 12.95 kB / 493.1 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.3546, allocations: 16.5 kB / 493.1 MB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.3549, allocations: 222.5 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.355, allocations: 1.75 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.355, allocations: 9.938 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3552, allocations: 54.38 kB / 493.4 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3552, allocations: 0 / 493.4 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3552, allocations: 1.281 kB / 493.4 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3552, allocations: 9.609 kB / 493.4 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.3553, allocations: 21.42 kB / 493.4 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.3557, allocations: 289.4 kB / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3559, allocations: 61.73 kB / 493.7 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.759e-05/0.356, allocations: 18.98 kB / 493.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.356, allocations: 5.25 kB / 493.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.3562, allocations: 66.44 kB / 493.8 MB, free: 16.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.3562, allocations: 0 / 493.8 MB, free: 16.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000644/0.3569, allocations: 187.1 kB / 494 MB, free: 16.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.3569, allocations: 57.19 kB / 494.1 MB, free: 16.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.3572, allocations: 257.3 kB / 494.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.3573, allocations: 31.17 kB / 494.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.3573, allocations: 115.8 kB / 494.5 MB, free: 16.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.3574, allocations: 25.53 kB / 494.5 MB, free: 16.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.3574, allocations: 21.98 kB / 494.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.3575, allocations: 332.6 kB / 494.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.3576, allocations: 25.66 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.3577, allocations: 35.67 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.3578, allocations: 57.55 kB / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3578, allocations: 0 / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.358, allocations: 106.4 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.358, allocations: 6.734 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3581, allocations: 4.938 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3581, allocations: 1.312 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3582, allocations: 14.72 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.3582, allocations: 5.656 kB / 495.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.3583, allocations: 10.62 kB / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3583, allocations: 3.953 kB / 495.1 MB, free: 15.77 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.823e-05/0.3584, allocations: 137.5 kB / 495.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.3584, allocations: 13.62 kB / 495.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.3585, allocations: 23.25 kB / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3585, allocations: 1.25 kB / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3585, allocations: 0 / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3585, allocations: 6.125 kB / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.359, allocations: 401.6 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.359, allocations: 0 / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.359, allocations: 9.141 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.359, allocations: 1.922 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.359, allocations: 8.969 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.359, allocations: 1.719 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.359, allocations: 1.062 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.3593, allocations: 206.7 kB / 495.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.3593, allocations: 88.7 kB / 496 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.3594, allocations: 10.98 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.3594, allocations: 3.703 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.3595, allocations: 4.203 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.3595, allocations: 4.297 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.3597, allocations: 195.6 kB / 496.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3597, allocations: 0 / 496.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.36, allocations: 26.97 kB / 496.2 MB, free: 14.87 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.001032/0.361, allocations: 482.3 kB / 496.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.3612, allocations: 71.8 kB / 496.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3612, allocations: 0 / 496.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/0.3613, allocations: 33.17 kB / 496.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3617, allocations: 31.28 kB / 496.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.3622, allocations: 279.5 kB / 497.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.3624, allocations: 0.716 MB / 497.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.48e-05/0.3625, allocations: 16.89 kB / 497.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.3625, allocations: 20.44 kB / 497.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3625, allocations: 0 / 497.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of Templates: time 0.005691/0.3682, allocations: 1.755 MB / 499.6 MB, free: 13.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)