Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008447/0.008448, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001326/0.001326, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.6/1.6, allocations: 205.1 MB / 222.6 MB, free: 4.379 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.3853/0.3853, allocations: 39.94 MB / 309.8 MB, free: 9.652 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.001561/0.001561, allocations: 75.89 kB / 435.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3953, allocations: 56.87 MB / 492.7 MB, free: 19.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003592/0.3989, allocations: 1.697 MB / 494.4 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.4003, allocations: 0.8017 MB / 495.2 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.129e-05/0.4004, allocations: 7.938 kB / 495.2 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.4008, allocations: 39.02 kB / 495.3 MB, free: 17.63 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.0002415/0.401, allocations: 54.95 kB / 495.3 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.4013, allocations: 75.66 kB / 495.4 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.4015, allocations: 95.28 kB / 495.5 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.4016, allocations: 20.12 kB / 495.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.4017, allocations: 36.33 kB / 495.5 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.402e-05/0.4018, allocations: 42.91 kB / 495.6 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.4019, allocations: 3.688 kB / 495.6 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.402, allocations: 37.69 kB / 495.6 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.4021, allocations: 21.72 kB / 495.6 MB, free: 17.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.4021, allocations: 38.72 kB / 495.7 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.4024, allocations: 106 kB / 495.8 MB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4024, allocations: 1.562 kB / 495.8 MB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4024, allocations: 0 / 495.8 MB, free: 17.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.4024, allocations: 0 / 495.8 MB, free: 17.38 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.0005447/0.403, allocations: 421.5 kB / 496.2 MB, free: 16.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.403, allocations: 13.27 kB / 496.2 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.4031, allocations: 10.19 kB / 496.2 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.4033, allocations: 201.5 kB / 496.4 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4033, allocations: 6.688 kB / 496.4 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.4034, allocations: 7.484 kB / 496.4 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.4035, allocations: 53.75 kB / 496.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.4035, allocations: 3.938 kB / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4036, allocations: 0.75 kB / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4036, allocations: 1.156 kB / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.055e-05/0.4036, allocations: 21.97 kB / 496.5 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.404, allocations: 286 kB / 496.8 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.4042, allocations: 60.62 kB / 496.8 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.4042, allocations: 20.8 kB / 496.9 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.4043, allocations: 8.547 kB / 496.9 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.4044, allocations: 69.64 kB / 496.9 MB, free: 16.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.4044, allocations: 1.406 kB / 496.9 MB, free: 16.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005431/0.405, allocations: 175.7 kB / 497.1 MB, free: 16.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.405, allocations: 53.12 kB / 497.2 MB, free: 16.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.4052, allocations: 188 kB / 497.4 MB, free: 16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.4052, allocations: 28.19 kB / 497.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.4053, allocations: 107.4 kB / 497.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.4053, allocations: 21.91 kB / 497.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.4054, allocations: 29.64 kB / 497.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.4054, allocations: 325.8 kB / 497.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.4055, allocations: 21.83 kB / 497.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.4056, allocations: 35.11 kB / 497.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.4057, allocations: 58.88 kB / 498 MB, free: 15.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4057, allocations: 0 / 498 MB, free: 15.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001683/0.4059, allocations: 107.9 kB / 498.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4059, allocations: 6.984 kB / 498.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4059, allocations: 1.562 kB / 498.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.4059, allocations: 0 / 498.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.092e-05/0.406, allocations: 15.36 kB / 498.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.406, allocations: 4.75 kB / 498.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.4061, allocations: 11.48 kB / 498.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.4061, allocations: 2.938 kB / 498.1 MB, free: 15.36 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 7.611e-05/0.4062, allocations: 125.4 kB / 498.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.4062, allocations: 13.34 kB / 498.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.4063, allocations: 14.3 kB / 498.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4063, allocations: 1.125 kB / 498.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4063, allocations: 1.953 kB / 498.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4063, allocations: 3.938 kB / 498.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.4067, allocations: 398.5 kB / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4067, allocations: 0 / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.4067, allocations: 9.562 kB / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4067, allocations: 1.531 kB / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.4067, allocations: 5.891 kB / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4068, allocations: 1.469 kB / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4068, allocations: 0.7969 kB / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.407, allocations: 208.5 kB / 498.9 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.407, allocations: 84.58 kB / 499 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.4071, allocations: 6.891 kB / 499 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.4071, allocations: 6.641 kB / 499 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.4072, allocations: 6.266 kB / 499 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.4072, allocations: 6.156 kB / 499 MB, free: 14.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.4073, allocations: 141.2 kB / 499.1 MB, free: 14.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4073, allocations: 0 / 499.1 MB, free: 14.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.4076, allocations: 27.34 kB / 499.2 MB, free: 14.48 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.001043/0.4087, allocations: 480.9 kB / 499.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.4089, allocations: 60.33 kB / 499.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4089, allocations: 0 / 499.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.985e-05/0.409, allocations: 32.39 kB / 499.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.4094, allocations: 40.08 kB / 499.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.4099, allocations: 222.5 kB / 500 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.4102, allocations: 0.705 MB / 0.4889 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.049e-05/0.4102, allocations: 17.12 kB / 0.489 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.4103, allocations: 15.88 kB / 0.489 GB, free: 13.17 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4103, allocations: 1.531 kB / 0.489 GB, free: 13.17 MB / 382.1 MB Notification: Performance of Templates: time 0.005105/0.4154, allocations: 1.686 MB / 0.4906 GB, free: 12.99 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1)