Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008825/0.008825, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001825/0.001826, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.614/1.614, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.3779/0.3779, allocations: 39.94 MB / 309.8 MB, free: 9.398 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.001799/0.001799, allocations: 71.89 kB / 435.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3698, allocations: 56.87 MB / 492.7 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003636/0.3735, allocations: 1.694 MB / 494.4 MB, free: 18.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.3748, allocations: 0.8029 MB / 495.2 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.3749, allocations: 5.031 kB / 495.2 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.3752, allocations: 38.12 kB / 495.3 MB, free: 18.03 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.0002157/0.3754, allocations: 54.41 kB / 495.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.3757, allocations: 85.59 kB / 495.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.3758, allocations: 95.69 kB / 495.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.33e-05/0.3759, allocations: 23.59 kB / 495.5 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.661e-05/0.376, allocations: 35.95 kB / 495.5 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.185e-05/0.3761, allocations: 38.83 kB / 495.6 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.3761, allocations: 3.625 kB / 495.6 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.119e-05/0.3762, allocations: 46.75 kB / 495.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.3763, allocations: 23.3 kB / 495.7 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.3764, allocations: 33.62 kB / 495.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.3766, allocations: 112.7 kB / 495.8 MB, free: 17.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3766, allocations: 1.094 kB / 495.8 MB, free: 17.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3766, allocations: 0 / 495.8 MB, free: 17.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3766, allocations: 4 kB / 495.8 MB, free: 17.76 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.000475/0.3771, allocations: 422.8 kB / 496.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3771, allocations: 13.28 kB / 496.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.3772, allocations: 9.906 kB / 496.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.3774, allocations: 217.2 kB / 496.5 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3774, allocations: 384 / 496.5 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.3775, allocations: 7.406 kB / 496.5 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.3776, allocations: 55.55 kB / 496.5 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3776, allocations: 4 kB / 496.5 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.3776, allocations: 0 / 496.5 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3776, allocations: 1.125 kB / 496.5 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.186e-05/0.3777, allocations: 18.48 kB / 496.5 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.378, allocations: 290.3 kB / 496.8 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.3782, allocations: 57.64 kB / 496.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.3783, allocations: 22.75 kB / 496.9 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3783, allocations: 1.609 kB / 496.9 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.3784, allocations: 65.73 kB / 497 MB, free: 16.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.3784, allocations: 3.938 kB / 497 MB, free: 16.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005151/0.3789, allocations: 168.8 kB / 497.1 MB, free: 16.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.379, allocations: 53.61 kB / 497.2 MB, free: 16.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.3792, allocations: 206.7 kB / 497.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.3792, allocations: 27.11 kB / 497.4 MB, free: 16.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.3792, allocations: 108.8 kB / 497.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.3793, allocations: 21.92 kB / 497.5 MB, free: 16.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.3793, allocations: 21.3 kB / 497.6 MB, free: 16.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.332e-05/0.3794, allocations: 330.6 kB / 497.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-05/0.3795, allocations: 17.89 kB / 497.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.386e-05/0.3795, allocations: 39.3 kB / 497.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.3796, allocations: 61.66 kB / 498 MB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3796, allocations: 3.938 kB / 498 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.3798, allocations: 101.4 kB / 498.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3799, allocations: 10.33 kB / 498.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3799, allocations: 0 / 498.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3799, allocations: 1.094 kB / 498.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.38, allocations: 24.69 kB / 498.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.38, allocations: 0 / 498.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.3801, allocations: 10.88 kB / 498.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3801, allocations: 3.625 kB / 498.2 MB, free: 15.74 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 8.999e-05/0.3802, allocations: 122.8 kB / 498.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.3802, allocations: 13.61 kB / 498.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.3803, allocations: 15.08 kB / 498.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3803, allocations: 2.125 kB / 498.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3803, allocations: 1.281 kB / 498.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.3803, allocations: 7.938 kB / 498.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.3807, allocations: 399.7 kB / 498.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3807, allocations: 0 / 498.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.3808, allocations: 9.641 kB / 498.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3808, allocations: 1.406 kB / 498.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3808, allocations: 6.25 kB / 498.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3808, allocations: 0 / 498.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3808, allocations: 2.141 kB / 498.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.3811, allocations: 207.8 kB / 498.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.3811, allocations: 90.42 kB / 499 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3811, allocations: 6.094 kB / 499 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.629e-05/0.3812, allocations: 3.406 kB / 499 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.3813, allocations: 9.281 kB / 499 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.3813, allocations: 8.672 kB / 499 MB, free: 14.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.3814, allocations: 149.9 kB / 499.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3814, allocations: 1.531 kB / 499.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.3817, allocations: 22.55 kB / 499.2 MB, free: 14.85 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.001066/0.3828, allocations: 487.1 kB / 499.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.383, allocations: 51.69 kB / 499.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.383, allocations: 0 / 499.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.3831, allocations: 33.12 kB / 499.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.3835, allocations: 30.53 kB / 499.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.3839, allocations: 234.4 kB / 0.4883 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.3842, allocations: 0.7032 MB / 0.489 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.542e-05/0.3842, allocations: 16.83 kB / 0.489 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.3843, allocations: 19.72 kB / 0.489 GB, free: 13.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3843, allocations: 0 / 0.489 GB, free: 13.55 MB / 382.1 MB Notification: Performance of Templates: time 0.005534/0.3898, allocations: 1.729 MB / 0.4907 GB, free: 13.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)