Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007708/0.007708, allocations: 102.8 kB / 15.73 MB, free: 6.492 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.001373/0.001373, allocations: 191.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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3962/0.3962, allocations: 39.94 MB / 309.8 MB, free: 9.348 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.001978/0.001978, allocations: 71.89 kB / 435.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3971, allocations: 56.88 MB / 492.7 MB, free: 19.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003894/0.4011, allocations: 1.683 MB / 494.4 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.4025, allocations: 0.8058 MB / 495.2 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.885e-05/0.4026, allocations: 1.094 kB / 495.2 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.403, allocations: 43.33 kB / 495.3 MB, free: 17.88 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.0002276/0.4033, allocations: 51.02 kB / 495.3 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.4035, allocations: 87.83 kB / 495.4 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.4037, allocations: 95.06 kB / 495.5 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.4038, allocations: 16.23 kB / 495.5 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.4039, allocations: 45.16 kB / 495.5 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.386e-05/0.404, allocations: 26.53 kB / 495.6 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.404, allocations: 3.875 kB / 495.6 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.4042, allocations: 46 kB / 495.6 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.62e-05/0.4042, allocations: 19.42 kB / 495.6 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.4043, allocations: 32.06 kB / 495.7 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.4046, allocations: 119.2 kB / 495.8 MB, free: 17.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4046, allocations: 0.6094 kB / 495.8 MB, free: 17.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4046, allocations: 1.219 kB / 495.8 MB, free: 17.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.4046, allocations: 0 / 495.8 MB, free: 17.62 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.0005656/0.4052, allocations: 408.2 kB / 496.2 MB, free: 17.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.4052, allocations: 14.78 kB / 496.2 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.4053, allocations: 8.875 kB / 496.2 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.4055, allocations: 211.7 kB / 496.4 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.4056, allocations: 5.812 kB / 496.4 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.4056, allocations: 6.156 kB / 496.4 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.4058, allocations: 58.38 kB / 496.5 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4058, allocations: 0 / 496.5 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.4058, allocations: 5.469 kB / 496.5 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4058, allocations: 3.938 kB / 496.5 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.13e-05/0.4059, allocations: 18.78 kB / 496.5 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.4063, allocations: 287 kB / 496.8 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.4065, allocations: 60.06 kB / 496.9 MB, free: 16.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.4065, allocations: 26.86 kB / 496.9 MB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.4066, allocations: 1.938 kB / 496.9 MB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.4067, allocations: 70.33 kB / 496.9 MB, free: 16.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.4068, allocations: 0 / 496.9 MB, free: 16.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005857/0.4073, allocations: 167.9 kB / 497.1 MB, free: 16.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.4074, allocations: 53.42 kB / 497.2 MB, free: 16.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.4076, allocations: 184.1 kB / 497.3 MB, free: 16.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.4077, allocations: 35.86 kB / 497.4 MB, free: 16.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.4077, allocations: 99.16 kB / 497.5 MB, free: 16.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.4078, allocations: 29.67 kB / 497.5 MB, free: 16.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.4078, allocations: 22.66 kB / 497.5 MB, free: 16.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4079, allocations: 329.2 kB / 497.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.408, allocations: 17.64 kB / 497.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.4081, allocations: 40.22 kB / 497.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.4082, allocations: 61.72 kB / 498 MB, free: 15.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4082, allocations: 0.6094 kB / 498 MB, free: 15.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001937/0.4084, allocations: 101.1 kB / 498.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4084, allocations: 5.688 kB / 498.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4084, allocations: 0 / 498.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4084, allocations: 1.25 kB / 498.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.967e-05/0.4085, allocations: 15.8 kB / 498.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.4086, allocations: 5.25 kB / 498.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.4086, allocations: 11.33 kB / 498.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.4086, allocations: 2.125 kB / 498.1 MB, free: 15.61 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.0001039/0.4088, allocations: 128.8 kB / 498.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.4088, allocations: 18.14 kB / 498.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.4088, allocations: 14.88 kB / 498.3 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4088, allocations: 5.391 kB / 498.3 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4089, allocations: 0 / 498.3 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.4089, allocations: 9.734 kB / 498.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.4093, allocations: 389.1 kB / 498.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.4094, allocations: 5.656 kB / 498.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.4094, allocations: 8.859 kB / 498.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4094, allocations: 0 / 498.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.4094, allocations: 11.48 kB / 498.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4094, allocations: 1.125 kB / 498.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4094, allocations: 0.6094 kB / 498.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.4097, allocations: 209.5 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.4097, allocations: 88.3 kB / 499 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.4098, allocations: 6.688 kB / 499 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.4098, allocations: 3.484 kB / 499 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.4099, allocations: 4.844 kB / 499 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.4099, allocations: 4.172 kB / 499 MB, free: 14.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.41, allocations: 147.6 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4101, allocations: 4 kB / 499.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.4103, allocations: 26.47 kB / 499.2 MB, free: 14.71 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.001044/0.4114, allocations: 456.2 kB / 499.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.4116, allocations: 68.62 kB / 499.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4116, allocations: 0 / 499.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.746e-05/0.4117, allocations: 28.53 kB / 499.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.412, allocations: 35.55 kB / 499.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.4126, allocations: 231.5 kB / 500 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.4128, allocations: 0.7045 MB / 0.4889 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.139e-05/0.4129, allocations: 12 kB / 0.489 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.413, allocations: 21.05 kB / 0.489 GB, free: 13.42 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.413, allocations: 0 / 0.489 GB, free: 13.42 MB / 382.1 MB Notification: Performance of Templates: time 0.005064/0.418, allocations: 1.721 MB / 0.4907 GB, free: 13.22 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1)