Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01073/0.01073, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.002262/0.002262, allocations: 200.2 kB / 16.67 MB, free: 5.98 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.643/1.643, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.3761/0.3761, allocations: 39.94 MB / 309.8 MB, free: 9.375 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.00168/0.001681, allocations: 75.91 kB / 435.9 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3771, allocations: 56.87 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.004358/0.3815, allocations: 1.691 MB / 494.4 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.3833, allocations: 0.8001 MB / 495.2 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.619e-05/0.3834, allocations: 1.406 kB / 495.2 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.3838, allocations: 36.27 kB / 495.2 MB, free: 17.73 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.0002666/0.3841, allocations: 55.67 kB / 495.3 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.3844, allocations: 80.64 kB / 495.4 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.3846, allocations: 98.66 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3848, allocations: 20.94 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3849, allocations: 41.27 kB / 495.5 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.402e-05/0.385, allocations: 29.59 kB / 495.6 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.385, allocations: 3.938 kB / 495.6 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.3851, allocations: 38.67 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.3852, allocations: 16.66 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/0.3853, allocations: 29.53 kB / 495.7 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.3856, allocations: 111.6 kB / 495.8 MB, free: 17.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3856, allocations: 3.938 kB / 495.8 MB, free: 17.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.3856, allocations: 0 / 495.8 MB, free: 17.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3856, allocations: 4 kB / 495.8 MB, free: 17.47 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.0007536/0.3864, allocations: 402.2 kB / 496.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.3865, allocations: 13.7 kB / 496.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.3865, allocations: 10.31 kB / 496.2 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.3868, allocations: 205.1 kB / 496.4 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.3869, allocations: 9.734 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.3869, allocations: 6.719 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.3871, allocations: 58.52 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3871, allocations: 4 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3871, allocations: 0.6562 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3871, allocations: 1.438 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.799e-05/0.3872, allocations: 17.58 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.3877, allocations: 280.4 kB / 496.8 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.3879, allocations: 60.36 kB / 496.8 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.278e-05/0.3879, allocations: 19.7 kB / 496.8 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.388, allocations: 5.891 kB / 496.8 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.3881, allocations: 65.62 kB / 496.9 MB, free: 16.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.3882, allocations: 0 / 496.9 MB, free: 16.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005921/0.3888, allocations: 175.1 kB / 497.1 MB, free: 16.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.3888, allocations: 60.81 kB / 497.1 MB, free: 16.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.389, allocations: 157.1 kB / 497.3 MB, free: 16.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.389, allocations: 31.55 kB / 497.3 MB, free: 16.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.389, allocations: 97.59 kB / 497.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.3891, allocations: 26.11 kB / 497.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.3891, allocations: 26.64 kB / 497.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.493e-05/0.3892, allocations: 319.8 kB / 497.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.998e-05/0.3893, allocations: 18.16 kB / 497.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.751e-05/0.3893, allocations: 43.98 kB / 497.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.3894, allocations: 57.92 kB / 497.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3895, allocations: 0 / 497.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000181/0.3896, allocations: 104.8 kB / 498 MB, free: 15.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.3897, allocations: 5.531 kB / 498 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3897, allocations: 2.297 kB / 498 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3897, allocations: 7.969 kB / 498 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3898, allocations: 19.59 kB / 498 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3899, allocations: 0.8125 kB / 498 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.3899, allocations: 7.969 kB / 498 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3899, allocations: 2.656 kB / 498 MB, free: 15.48 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.266e-05/0.39, allocations: 129.9 kB / 498.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.39, allocations: 13.77 kB / 498.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.3901, allocations: 17.41 kB / 498.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.3901, allocations: 5.5 kB / 498.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3901, allocations: 4 kB / 498.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3901, allocations: 0.9844 kB / 498.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.3905, allocations: 386.5 kB / 498.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3906, allocations: 1.344 kB / 498.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.82e-05/0.3906, allocations: 8.359 kB / 498.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3906, allocations: 1.531 kB / 498.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3906, allocations: 2.453 kB / 498.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3906, allocations: 1.375 kB / 498.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3906, allocations: 4.031 kB / 498.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.3909, allocations: 209 kB / 498.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.3909, allocations: 84.41 kB / 498.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.3909, allocations: 6.156 kB / 498.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.391, allocations: 2.672 kB / 498.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.3911, allocations: 5.891 kB / 498.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.3911, allocations: 9.375 kB / 498.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.3912, allocations: 125 kB / 499 MB, free: 14.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3912, allocations: 0 / 499 MB, free: 14.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.3915, allocations: 26.2 kB / 499.1 MB, free: 14.6 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.001058/0.3926, allocations: 465.8 kB / 499.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.3928, allocations: 64.5 kB / 499.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3928, allocations: 3.938 kB / 499.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.141e-05/0.3929, allocations: 32.56 kB / 499.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3933, allocations: 38.86 kB / 499.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.3937, allocations: 201.8 kB / 499.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.3939, allocations: 0.6998 MB / 0.4888 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.351e-05/0.394, allocations: 16.98 kB / 0.4888 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.394, allocations: 17.3 kB / 0.4889 GB, free: 13.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.394, allocations: 0 / 0.4889 GB, free: 13.3 MB / 382.1 MB Notification: Performance of Templates: time 0.005818/0.3999, allocations: 1.711 MB / 0.4905 GB, free: 13.1 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)