Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007854/0.007854, allocations: 105.1 kB / 15.74 MB, free: 6.012 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.001488/0.001488, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.48 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.3422/0.3422, allocations: 37.99 MB / 307.9 MB, free: 10.11 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.00169/0.00169, allocations: 71.91 kB / 433.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3802, allocations: 56.46 MB / 489.5 MB, free: 19.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003719/0.384, allocations: 1.664 MB / 491.2 MB, free: 18.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.3855, allocations: 0.8132 MB / 492 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.3856, allocations: 1.531 kB / 492 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.386, allocations: 41.28 kB / 492 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.0002603/0.3863, allocations: 51.3 kB / 492.1 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.3866, allocations: 83.64 kB / 492.2 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.3868, allocations: 95.97 kB / 492.3 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3869, allocations: 19.45 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.556e-05/0.387, allocations: 41.17 kB / 492.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.872e-05/0.3871, allocations: 34.8 kB / 492.4 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.3871, allocations: 3.062 kB / 492.4 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.3873, allocations: 39.36 kB / 492.4 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.3873, allocations: 22.41 kB / 492.4 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.3874, allocations: 37.67 kB / 492.5 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.3876, allocations: 116.3 kB / 492.6 MB, free: 17.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3876, allocations: 0 / 492.6 MB, free: 17.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3876, allocations: 5.094 kB / 492.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.3876, allocations: 0 / 492.6 MB, free: 17.84 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.0005545/0.3882, allocations: 414.5 kB / 493 MB, free: 17.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3883, allocations: 13.67 kB / 493 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.3883, allocations: 14.73 kB / 493 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.3886, allocations: 206.6 kB / 493.2 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.3886, allocations: 7.688 kB / 493.2 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.3886, allocations: 6.188 kB / 493.2 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3888, allocations: 61.61 kB / 493.3 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3888, allocations: 0 / 493.3 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3888, allocations: 2.156 kB / 493.3 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3888, allocations: 3.938 kB / 493.3 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.3889, allocations: 18.7 kB / 493.3 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.3893, allocations: 287.5 kB / 493.6 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3895, allocations: 63.84 kB / 493.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.3896, allocations: 21.03 kB / 493.7 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.3896, allocations: 1.125 kB / 493.7 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.3898, allocations: 73.52 kB / 493.7 MB, free: 16.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3898, allocations: 0 / 493.7 MB, free: 16.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005984/0.3904, allocations: 169.3 kB / 493.9 MB, free: 16.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.3904, allocations: 56.47 kB / 494 MB, free: 16.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.3906, allocations: 198.3 kB / 494.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.3907, allocations: 26.89 kB / 494.2 MB, free: 16.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.3907, allocations: 104.7 kB / 494.3 MB, free: 16.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.3907, allocations: 25.25 kB / 494.3 MB, free: 16.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.3908, allocations: 22 kB / 494.3 MB, free: 16.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.3909, allocations: 326.7 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-05/0.391, allocations: 25.53 kB / 494.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.521e-05/0.391, allocations: 39.22 kB / 494.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.3912, allocations: 58.58 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3912, allocations: 0 / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001798/0.3913, allocations: 101.4 kB / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3914, allocations: 6.562 kB / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3914, allocations: 0 / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3914, allocations: 5.562 kB / 494.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.3915, allocations: 15.39 kB / 494.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3915, allocations: 1.125 kB / 494.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.3916, allocations: 11.31 kB / 494.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3916, allocations: 2.312 kB / 494.9 MB, free: 15.84 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.111e-05/0.3917, allocations: 131 kB / 495 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.3917, allocations: 14.47 kB / 495.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.3918, allocations: 20.2 kB / 495.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3918, allocations: 4 kB / 495.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3918, allocations: 0 / 495.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3918, allocations: 6.141 kB / 495.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.3922, allocations: 388.2 kB / 495.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3922, allocations: 0 / 495.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.3922, allocations: 12.5 kB / 495.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3922, allocations: 0.8906 kB / 495.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3923, allocations: 9.844 kB / 495.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3923, allocations: 2.141 kB / 495.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3923, allocations: 4.406 kB / 495.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.3925, allocations: 209.2 kB / 495.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.3926, allocations: 89.12 kB / 495.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.3926, allocations: 6.859 kB / 495.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.746e-05/0.3927, allocations: 6.391 kB / 495.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.3928, allocations: 5.391 kB / 495.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.3928, allocations: 12.84 kB / 495.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.393, allocations: 151.9 kB / 496 MB, free: 14.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.393, allocations: 0 / 496 MB, free: 14.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00027/0.3932, allocations: 21.72 kB / 496 MB, free: 14.93 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.001052/0.3943, allocations: 476.2 kB / 496.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.3945, allocations: 55.84 kB / 496.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3945, allocations: 1.062 kB / 496.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.3946, allocations: 32.39 kB / 496.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.395, allocations: 30.11 kB / 496.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.3954, allocations: 238.2 kB / 496.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.3956, allocations: 0.7018 MB / 497.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.153e-05/0.3956, allocations: 17.17 kB / 497.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.3957, allocations: 16.78 kB / 497.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3957, allocations: 0 / 497.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of Templates: time 0.004994/0.4007, allocations: 1.712 MB / 499.2 MB, free: 13.44 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)