Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008403/0.008402, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001386/0.001386, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.667/1.667, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3517/0.3517, allocations: 39.94 MB / 309.8 MB, free: 9.316 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.001433/0.001433, allocations: 76.52 kB / 435.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.379, allocations: 56.88 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003891/0.383, allocations: 1.684 MB / 494.4 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3844, allocations: 0.8048 MB / 495.2 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.3845, allocations: 0 / 495.2 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.3849, allocations: 50.7 kB / 495.3 MB, free: 17.7 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.0002453/0.3852, allocations: 49.88 kB / 495.3 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.3855, allocations: 88.23 kB / 495.4 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3857, allocations: 91.52 kB / 495.5 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3858, allocations: 27.91 kB / 495.5 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3859, allocations: 45.3 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.386, allocations: 30.52 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.386, allocations: 3.375 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.3862, allocations: 39.3 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.7e-05/0.3863, allocations: 22.89 kB / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.521e-05/0.3863, allocations: 37.12 kB / 495.7 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.3866, allocations: 117 kB / 495.8 MB, free: 17.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.3867, allocations: 4.562 kB / 495.8 MB, free: 17.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.408e-06/0.3867, allocations: 0 / 495.8 MB, free: 17.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3867, allocations: 0 / 495.8 MB, free: 17.42 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.000718/0.3874, allocations: 422.2 kB / 496.2 MB, free: 17.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3875, allocations: 14.2 kB / 496.2 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.3875, allocations: 10.12 kB / 496.2 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.3879, allocations: 215.4 kB / 496.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3879, allocations: 1.844 kB / 496.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.388, allocations: 7.641 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.3881, allocations: 54.12 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3882, allocations: 0 / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3882, allocations: 5.188 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3882, allocations: 0.7031 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.06e-05/0.3883, allocations: 23.2 kB / 496.5 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.3887, allocations: 287 kB / 496.8 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3889, allocations: 55.67 kB / 496.9 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.981e-05/0.389, allocations: 24.83 kB / 496.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.389, allocations: 0 / 496.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.3892, allocations: 71 kB / 497 MB, free: 16.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.3892, allocations: 0 / 497 MB, free: 16.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006435/0.3899, allocations: 173.3 kB / 497.1 MB, free: 16.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3899, allocations: 51.97 kB / 497.2 MB, free: 16.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.3901, allocations: 198.8 kB / 497.4 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.3902, allocations: 31.3 kB / 497.4 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.3902, allocations: 104.2 kB / 497.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.3903, allocations: 22.31 kB / 497.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.3903, allocations: 21.62 kB / 497.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.3904, allocations: 329.7 kB / 497.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.3905, allocations: 17.84 kB / 497.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/0.3906, allocations: 39.33 kB / 497.9 MB, free: 15.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3907, allocations: 66.88 kB / 498 MB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3907, allocations: 3.938 kB / 498 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001797/0.3909, allocations: 104.9 kB / 498.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3909, allocations: 5.375 kB / 498.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3909, allocations: 5.656 kB / 498.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.391, allocations: 1.656 kB / 498.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.3911, allocations: 18.39 kB / 498.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3911, allocations: 5.875 kB / 498.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.3911, allocations: 6.312 kB / 498.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.3912, allocations: 2.781 kB / 498.2 MB, free: 15.4 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.663e-05/0.3913, allocations: 127.8 kB / 498.3 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.3913, allocations: 9.562 kB / 498.3 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.3913, allocations: 14.81 kB / 498.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3913, allocations: 1.766 kB / 498.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3914, allocations: 0.9062 kB / 498.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3914, allocations: 8.594 kB / 498.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.3918, allocations: 396.3 kB / 498.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3918, allocations: 0 / 498.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.3918, allocations: 16.72 kB / 498.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3919, allocations: 2.484 kB / 498.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3919, allocations: 5.922 kB / 498.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3919, allocations: 5.281 kB / 498.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3919, allocations: 0 / 498.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.3921, allocations: 201.2 kB / 498.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.3922, allocations: 89.22 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.3922, allocations: 5.656 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.3923, allocations: 7.047 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.3923, allocations: 6.984 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.3923, allocations: 3.312 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.3925, allocations: 155.8 kB / 499.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3925, allocations: 3.938 kB / 499.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.3928, allocations: 22.31 kB / 499.2 MB, free: 14.51 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.001034/0.3938, allocations: 474.4 kB / 499.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.394, allocations: 60.27 kB / 499.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.394, allocations: 1.188 kB / 499.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.3941, allocations: 29.08 kB / 499.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.3945, allocations: 37.75 kB / 499.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.3951, allocations: 228.5 kB / 0.4883 GB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.3954, allocations: 0.7123 MB / 0.489 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.534e-05/0.3954, allocations: 11.58 kB / 0.489 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.3955, allocations: 17.56 kB / 0.489 GB, free: 13.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3955, allocations: 0 / 0.489 GB, free: 13.21 MB / 382.1 MB Notification: Performance of Templates: time 0.005665/0.4011, allocations: 1.725 MB / 0.4907 GB, free: 13.01 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1)