Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009341/0.009341, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.00182/0.00182, allocations: 193.6 kB / 16.67 MB, free: 5.91 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.646/1.646, allocations: 205.1 MB / 222.6 MB, free: 4.355 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.4086/0.4086, allocations: 38 MB / 307.9 MB, free: 10.36 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.00143/0.00143, allocations: 71.89 kB / 433.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3764, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003008/0.3795, allocations: 1.633 MB / 491.1 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3807, allocations: 0.7962 MB / 491.9 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.3808, allocations: 0 / 491.9 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.3812, allocations: 66.84 kB / 492 MB, free: 18.25 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.0002358/0.3814, allocations: 59.88 kB / 492.1 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.3817, allocations: 74.19 kB / 492.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.3819, allocations: 99.55 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.3819, allocations: 13.06 kB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.474e-05/0.382, allocations: 41.5 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3821, allocations: 43.69 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.3822, allocations: 3.469 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.751e-05/0.3823, allocations: 43.41 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.3823, allocations: 13.05 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.3824, allocations: 33.11 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.3826, allocations: 97.17 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3826, allocations: 0 / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3826, allocations: 0 / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3826, allocations: 0 / 492.5 MB, free: 18.02 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004707/0.3831, allocations: 411.9 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3832, allocations: 14.02 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.3832, allocations: 10 kB / 492.9 MB, free: 17.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.3834, allocations: 205.8 kB / 493.1 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3835, allocations: 384 / 493.1 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3835, allocations: 7.766 kB / 493.1 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.3836, allocations: 49.08 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3836, allocations: 1 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3837, allocations: 4.516 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3837, allocations: 1.156 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/0.3837, allocations: 19.3 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.3839, allocations: 177.9 kB / 493.4 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.3841, allocations: 54.3 kB / 493.4 MB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.3841, allocations: 27.11 kB / 493.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3842, allocations: 4.5 kB / 493.5 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.3843, allocations: 68.02 kB / 493.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.094e-06/0.3843, allocations: 1.062 kB / 493.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003257/0.3846, allocations: 99.48 kB / 493.6 MB, free: 16.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.3847, allocations: 56.84 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3849, allocations: 180.6 kB / 493.9 MB, free: 16.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.3849, allocations: 35.47 kB / 493.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.3849, allocations: 97.66 kB / 494 MB, free: 16.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.385, allocations: 16.81 kB / 494 MB, free: 16.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.385, allocations: 19.58 kB / 494 MB, free: 16.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.3851, allocations: 325.9 kB / 494.4 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.92e-05/0.3851, allocations: 13.45 kB / 494.4 MB, free: 16.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.783e-05/0.3852, allocations: 27.16 kB / 494.4 MB, free: 16.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.3853, allocations: 50.02 kB / 494.4 MB, free: 16.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3853, allocations: 0 / 494.4 MB, free: 16.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001582/0.3855, allocations: 88.73 kB / 494.5 MB, free: 16.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3855, allocations: 5.812 kB / 494.5 MB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3855, allocations: 0.7969 kB / 494.5 MB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3855, allocations: 1.25 kB / 494.5 MB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.3856, allocations: 11.59 kB / 494.6 MB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3856, allocations: 1.062 kB / 494.6 MB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.3857, allocations: 6.5 kB / 494.6 MB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.3857, allocations: 3.156 kB / 494.6 MB, free: 16.17 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 (7): * Single equations (assignments): 7 * 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 7.366e-05/0.3858, allocations: 131.3 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.3858, allocations: 10.58 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.3859, allocations: 12.91 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3859, allocations: 1.219 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3859, allocations: 0 / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3859, allocations: 1.719 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.386, allocations: 181.3 kB / 494.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.386, allocations: 4.797 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/0.386, allocations: 7.25 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.386, allocations: 1.375 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3861, allocations: 6.609 kB / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3861, allocations: 0 / 494.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3861, allocations: 4 kB / 494.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.3863, allocations: 108.7 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.3863, allocations: 88.11 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.3864, allocations: 6.578 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.3864, allocations: 3.078 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.3864, allocations: 7.062 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3865, allocations: 3.047 kB / 495.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3866, allocations: 143.2 kB / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3866, allocations: 3.938 kB / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.3868, allocations: 22.45 kB / 495.3 MB, free: 15.51 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008543/0.3877, allocations: 419.3 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.3878, allocations: 40.31 kB / 495.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3878, allocations: 1 kB / 495.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.3879, allocations: 21.41 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.3882, allocations: 29.98 kB / 495.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.3886, allocations: 196.1 kB / 496 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.3887, allocations: 0.7056 MB / 496.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.326e-05/0.3888, allocations: 18.41 kB / 496.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.3888, allocations: 14.88 kB / 496.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3888, allocations: 0 / 496.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of Templates: time 0.005039/0.3939, allocations: 1.475 MB / 498.2 MB, free: 14.11 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1)