Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006418/0.006418, allocations: 99.88 kB / 15.73 MB, free: 6.047 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.001208/0.001208, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.629/1.629, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3665/0.3665, allocations: 39.95 MB / 309.8 MB, free: 9.477 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.001478/0.001478, allocations: 71.89 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3781, allocations: 56.87 MB / 492.7 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003779/0.3819, allocations: 1.693 MB / 494.4 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3834, allocations: 0.8029 MB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.3835, allocations: 1.156 kB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.3838, allocations: 47.86 kB / 495.3 MB, free: 17.71 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.0002306/0.3841, allocations: 49.77 kB / 495.3 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.3844, allocations: 84.64 kB / 495.4 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.3846, allocations: 91.52 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3847, allocations: 18.66 kB / 495.5 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.3849, allocations: 45.67 kB / 495.5 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.385, allocations: 31.3 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.385, allocations: 6.656 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.3852, allocations: 38.88 kB / 495.6 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.3853, allocations: 22.39 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.159e-05/0.3853, allocations: 37.5 kB / 495.7 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.3856, allocations: 114.6 kB / 495.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3856, allocations: 0 / 495.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3856, allocations: 1.281 kB / 495.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3856, allocations: 0.75 kB / 495.8 MB, free: 17.45 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.0005178/0.3862, allocations: 416.2 kB / 496.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3862, allocations: 17.62 kB / 496.2 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.3863, allocations: 9.375 kB / 496.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.3865, allocations: 202.8 kB / 496.4 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3866, allocations: 2.984 kB / 496.4 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.3866, allocations: 6.375 kB / 496.4 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.3868, allocations: 53.23 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3868, allocations: 1.688 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3868, allocations: 4.594 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.3868, allocations: 1.5 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.136e-05/0.3869, allocations: 26.06 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.3873, allocations: 288.9 kB / 496.8 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.3876, allocations: 56.98 kB / 496.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.992e-05/0.3876, allocations: 21 kB / 496.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.3877, allocations: 0 / 496.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.3879, allocations: 82.77 kB / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.3879, allocations: 0 / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007806/0.3887, allocations: 169.2 kB / 497.1 MB, free: 16.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.3888, allocations: 53.12 kB / 497.2 MB, free: 16.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.389, allocations: 186.4 kB / 497.4 MB, free: 16.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.3891, allocations: 31.92 kB / 497.4 MB, free: 16.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.3891, allocations: 103.5 kB / 497.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.3892, allocations: 25.92 kB / 497.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.3893, allocations: 22.73 kB / 497.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3894, allocations: 325.2 kB / 497.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/0.3895, allocations: 22.66 kB / 497.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.974e-05/0.3896, allocations: 33.95 kB / 497.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.3897, allocations: 65.75 kB / 498 MB, free: 15.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3898, allocations: 1.438 kB / 498 MB, free: 15.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002265/0.39, allocations: 100.5 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.39, allocations: 5.469 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.39, allocations: 1.344 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.3901, allocations: 1.562 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.3902, allocations: 19.47 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3902, allocations: 4.844 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.372e-05/0.3903, allocations: 7.578 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3903, allocations: 9.75 kB / 498.1 MB, free: 15.43 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.0001434/0.3905, allocations: 122.5 kB / 498.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.3905, allocations: 13.5 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/0.3906, allocations: 14.14 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3906, allocations: 1.219 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.3906, allocations: 1.844 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.505e-06/0.3906, allocations: 4.781 kB / 498.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005577/0.3912, allocations: 396.5 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3912, allocations: 1.219 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.3912, allocations: 12.64 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3912, allocations: 1.312 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.3913, allocations: 5.906 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3913, allocations: 1.188 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3913, allocations: 1.25 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.3916, allocations: 200.9 kB / 498.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.3916, allocations: 84.98 kB / 499 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.3917, allocations: 10.34 kB / 499 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.3917, allocations: 7.531 kB / 499 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.3918, allocations: 8.875 kB / 499 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.3918, allocations: 4.875 kB / 499 MB, free: 14.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.392, allocations: 142.9 kB / 499.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.392, allocations: 1.406 kB / 499.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.3923, allocations: 25.48 kB / 499.2 MB, free: 14.55 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.001275/0.3936, allocations: 469.6 kB / 499.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.3939, allocations: 60.62 kB / 499.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3939, allocations: 3.938 kB / 499.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.904e-05/0.394, allocations: 28.88 kB / 499.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.3944, allocations: 46.03 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.395, allocations: 223 kB / 500 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.3952, allocations: 0.7087 MB / 0.4889 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.325e-05/0.3952, allocations: 13 kB / 0.489 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.3953, allocations: 16.16 kB / 0.489 GB, free: 13.24 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3953, allocations: 0 / 0.489 GB, free: 13.24 MB / 382.1 MB Notification: Performance of Templates: time 0.005886/0.4012, allocations: 1.711 MB / 0.4906 GB, free: 13.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)