Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006562/0.006562, allocations: 97.06 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.001392/0.001392, allocations: 194.5 kB / 16.67 MB, free: 5.934 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.636/1.636, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.4742/0.4742, allocations: 39.95 MB / 309.9 MB, free: 9.391 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.001848/0.001848, allocations: 71.91 kB / 435.9 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3474, allocations: 56.87 MB / 492.7 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003006/0.3505, allocations: 1.689 MB / 494.4 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3517, allocations: 0.7991 MB / 495.2 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.3518, allocations: 5.438 kB / 495.2 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.3521, allocations: 49.16 kB / 495.3 MB, free: 17.68 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.0002186/0.3523, allocations: 60.62 kB / 495.3 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.3526, allocations: 81.25 kB / 495.4 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.3528, allocations: 99.3 kB / 495.5 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3529, allocations: 15.78 kB / 495.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.767e-05/0.353, allocations: 45.48 kB / 495.6 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.3531, allocations: 25.92 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.3531, allocations: 3.375 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.3532, allocations: 38.59 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.065e-05/0.3533, allocations: 33.05 kB / 495.7 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.3533, allocations: 36.81 kB / 495.7 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.3535, allocations: 122.4 kB / 495.8 MB, free: 17.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.3536, allocations: 4.453 kB / 495.8 MB, free: 17.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3536, allocations: 4 kB / 495.8 MB, free: 17.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.3536, allocations: 1.25 kB / 495.8 MB, free: 17.41 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.000534/0.3541, allocations: 426.1 kB / 496.2 MB, free: 16.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3542, allocations: 13.64 kB / 496.3 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.3543, allocations: 14.92 kB / 496.3 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.3545, allocations: 220.2 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3545, allocations: 2.234 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.3546, allocations: 6.75 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.3547, allocations: 57.77 kB / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3547, allocations: 0 / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3548, allocations: 1.641 kB / 496.6 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3548, allocations: 1.125 kB / 496.6 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.691e-05/0.3549, allocations: 18.3 kB / 496.6 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.3552, allocations: 289.2 kB / 496.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.3554, allocations: 61.42 kB / 496.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.3555, allocations: 22.72 kB / 496.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.3555, allocations: 2.328 kB / 496.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.3556, allocations: 65.2 kB / 497 MB, free: 16.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3556, allocations: 0 / 497 MB, free: 16.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005781/0.3562, allocations: 182.7 kB / 497.2 MB, free: 16.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.3563, allocations: 57 kB / 497.2 MB, free: 16.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.3565, allocations: 223.7 kB / 497.5 MB, free: 16.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.3565, allocations: 27.05 kB / 497.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.3566, allocations: 108.7 kB / 497.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.3566, allocations: 30.42 kB / 497.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.3567, allocations: 21.94 kB / 497.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.503e-05/0.3568, allocations: 331.8 kB / 498 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.383e-05/0.3569, allocations: 21.05 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.3569, allocations: 39.14 kB / 498 MB, free: 15.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.357, allocations: 58.2 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3571, allocations: 0 / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001877/0.3572, allocations: 105.6 kB / 498.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3573, allocations: 6.688 kB / 498.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3573, allocations: 1.281 kB / 498.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3573, allocations: 5.406 kB / 498.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.3574, allocations: 19.78 kB / 498.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3574, allocations: 0.7031 kB / 498.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.3575, allocations: 18.58 kB / 498.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3575, allocations: 2.438 kB / 498.2 MB, free: 15.35 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.0001134/0.3576, allocations: 128.4 kB / 498.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.3576, allocations: 15.14 kB / 498.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.3577, allocations: 15.94 kB / 498.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3577, allocations: 7.109 kB / 498.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3577, allocations: 5.234 kB / 498.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3577, allocations: 3.938 kB / 498.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.3581, allocations: 397.1 kB / 498.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3582, allocations: 1.094 kB / 498.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.3582, allocations: 9.219 kB / 498.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3582, allocations: 0 / 498.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3582, allocations: 7.703 kB / 498.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.3582, allocations: 1.25 kB / 498.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3582, allocations: 4.031 kB / 498.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.3584, allocations: 205.6 kB / 499 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.3585, allocations: 85.75 kB / 499.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3585, allocations: 5.438 kB / 499.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.3586, allocations: 8.297 kB / 499.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.3586, allocations: 4.516 kB / 499.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.3587, allocations: 13.38 kB / 499.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.3588, allocations: 170.6 kB / 499.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3588, allocations: 0 / 499.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.3591, allocations: 26.77 kB / 499.3 MB, free: 14.45 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.001012/0.3601, allocations: 466.8 kB / 499.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.3603, allocations: 63.5 kB / 499.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3603, allocations: 5.344 kB / 499.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.3604, allocations: 31.56 kB / 499.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.3608, allocations: 27.27 kB / 499.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.3613, allocations: 259.8 kB / 0.4884 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.3614, allocations: 0.7083 MB / 0.4891 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.472e-05/0.3615, allocations: 15.16 kB / 0.4891 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.3615, allocations: 20.98 kB / 0.4892 GB, free: 13.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3616, allocations: 0 / 0.4892 GB, free: 13.14 MB / 382.1 MB Notification: Performance of Templates: time 0.00522/0.3668, allocations: 1.717 MB / 0.4908 GB, free: 12.95 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)