Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01081/0.01081, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001951/0.001951, allocations: 196.1 kB / 16.67 MB, free: 5.938 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.655/1.655, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.373/0.373, allocations: 38 MB / 307.9 MB, free: 10 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.001783/0.001783, allocations: 75.91 kB / 433 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3927, allocations: 56.45 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003405/0.3962, allocations: 1.883 MB / 491.4 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.3977, allocations: 0.8504 MB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3979, allocations: 2.031 kB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.3983, allocations: 45.44 kB / 492.3 MB, free: 18.11 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.0002476/0.3985, allocations: 56.78 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.3988, allocations: 106 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.3991, allocations: 134 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.3992, allocations: 36.23 kB / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.3994, allocations: 57.28 kB / 492.7 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3995, allocations: 45.62 kB / 492.7 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.3995, allocations: 11.22 kB / 492.7 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.3996, allocations: 52.33 kB / 492.8 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.42e-05/0.3997, allocations: 23.25 kB / 492.8 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.587e-05/0.3998, allocations: 51.42 kB / 492.8 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.4001, allocations: 144.7 kB / 493 MB, free: 17.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4001, allocations: 1 kB / 493 MB, free: 17.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4001, allocations: 0 / 493 MB, free: 17.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4001, allocations: 0 / 493 MB, free: 17.75 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007573/0.4009, allocations: 476.4 kB / 493.4 MB, free: 17.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.4009, allocations: 17.67 kB / 493.5 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.003e-05/0.401, allocations: 16.59 kB / 493.5 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.4014, allocations: 224.6 kB / 493.7 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4014, allocations: 6.875 kB / 493.7 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.4015, allocations: 10.34 kB / 493.7 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.4017, allocations: 109.8 kB / 493.8 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4018, allocations: 4 kB / 493.8 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.4018, allocations: 1 kB / 493.8 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.4018, allocations: 2.766 kB / 493.8 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.402, allocations: 50.73 kB / 493.9 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/0.4027, allocations: 0.5125 MB / 494.4 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.4031, allocations: 93.84 kB / 494.5 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.4032, allocations: 37.34 kB / 494.5 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.4033, allocations: 2.219 kB / 494.5 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.4035, allocations: 89.05 kB / 494.6 MB, free: 16.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.794e-06/0.4035, allocations: 3.938 kB / 494.6 MB, free: 16.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004745/0.404, allocations: 139.4 kB / 494.8 MB, free: 16.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.4041, allocations: 60.56 kB / 494.8 MB, free: 16.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.4043, allocations: 188.1 kB / 495 MB, free: 16.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.4043, allocations: 26.77 kB / 495 MB, free: 16.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.4044, allocations: 115.4 kB / 495.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.4044, allocations: 31.27 kB / 495.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.4045, allocations: 27.78 kB / 495.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4046, allocations: 332.3 kB / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.4047, allocations: 33.31 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.4048, allocations: 57.95 kB / 495.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.405, allocations: 96.56 kB / 495.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4051, allocations: 1.5 kB / 495.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000299/0.4054, allocations: 144.2 kB / 495.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.4054, allocations: 5.344 kB / 495.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4054, allocations: 1.984 kB / 495.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.4054, allocations: 2.844 kB / 495.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.4056, allocations: 25.52 kB / 495.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4056, allocations: 1.938 kB / 495.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.4057, allocations: 14.95 kB / 495.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.4057, allocations: 4.281 kB / 495.9 MB, free: 15.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000102/0.4058, allocations: 133.6 kB / 496 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.4058, allocations: 18.56 kB / 496 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.4059, allocations: 16.39 kB / 496.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4059, allocations: 8.969 kB / 496.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4059, allocations: 0.5156 kB / 496.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4059, allocations: 1.594 kB / 496.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.4061, allocations: 209.1 kB / 496.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4061, allocations: 0 / 496.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.4062, allocations: 12.59 kB / 496.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4062, allocations: 1.156 kB / 496.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4062, allocations: 9.656 kB / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4062, allocations: 4.594 kB / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4062, allocations: 1.094 kB / 496.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.4066, allocations: 181.9 kB / 496.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.4067, allocations: 89.89 kB / 496.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.4067, allocations: 2.25 kB / 496.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.85e-05/0.4068, allocations: 13.8 kB / 496.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.4068, allocations: 13.48 kB / 496.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.4068, allocations: 4.188 kB / 496.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.4069, allocations: 138.1 kB / 496.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.407, allocations: 0 / 496.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.4072, allocations: 28.8 kB / 496.8 MB, free: 14.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009086/0.4081, allocations: 414.2 kB / 497.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.4084, allocations: 77.58 kB / 497.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4084, allocations: 4 kB / 497.3 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.4085, allocations: 39.8 kB / 497.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.4089, allocations: 44.8 kB / 497.3 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.4095, allocations: 256.5 kB / 497.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.4097, allocations: 0.7175 MB / 498.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.138e-05/0.4097, allocations: 21.2 kB / 498.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.4098, allocations: 24.53 kB / 498.3 MB, free: 13.35 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4098, allocations: 0 / 498.3 MB, free: 13.35 MB / 382.1 MB Notification: Performance of Templates: time 0.005964/0.4158, allocations: 1.913 MB / 0.4885 GB, free: 13.14 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)