Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006916/0.006916, allocations: 102 kB / 15.73 MB, free: 6.477 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.001445/0.001445, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.624/1.624, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.375/0.375, allocations: 39.93 MB / 309.8 MB, free: 9.266 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.001776/0.001776, allocations: 71.91 kB / 435.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4068, allocations: 56.87 MB / 492.7 MB, free: 19.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004201/0.4111, allocations: 1.782 MB / 494.5 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.413, allocations: 0.8919 MB / 495.4 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.4131, allocations: 1.188 kB / 495.4 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008966/0.4141, allocations: 291.3 kB / 495.7 MB, free: 17.49 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.0005947/0.4147, allocations: 208 kB / 495.9 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.4152, allocations: 140.7 kB / 496 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.4156, allocations: 236 kB / 496.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.745e-05/0.4157, allocations: 17.66 kB / 496.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.4159, allocations: 135.6 kB / 496.4 MB, free: 17.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.4163, allocations: 181.4 kB / 496.6 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.4163, allocations: 6.344 kB / 496.6 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.4164, allocations: 49.5 kB / 496.6 MB, free: 17.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.4166, allocations: 127.9 kB / 496.7 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.4168, allocations: 141.8 kB / 496.9 MB, free: 17.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.4173, allocations: 362.6 kB / 497.2 MB, free: 16.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4173, allocations: 1.406 kB / 497.2 MB, free: 16.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4173, allocations: 0 / 497.2 MB, free: 16.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.4173, allocations: 0 / 497.2 MB, free: 16.88 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001048/0.4184, allocations: 0.7191 MB / 498 MB, free: 16.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.4185, allocations: 13.19 kB / 498 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.148e-05/0.4186, allocations: 45.53 kB / 498 MB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/0.4193, allocations: 441.9 kB / 498.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.4193, allocations: 6.281 kB / 498.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.4193, allocations: 8.344 kB / 498.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.4196, allocations: 81.95 kB / 498.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4196, allocations: 0 / 498.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.4196, allocations: 1.922 kB / 498.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4196, allocations: 1.719 kB / 498.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.4197, allocations: 33.86 kB / 498.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.4202, allocations: 380.5 kB / 498.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.4205, allocations: 102.8 kB / 499 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.703e-05/0.4206, allocations: 46.97 kB / 499.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.4206, allocations: 0 / 499.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.4209, allocations: 110.7 kB / 499.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.4209, allocations: 3.938 kB / 499.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005338/0.4214, allocations: 197.7 kB / 499.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.4215, allocations: 83.17 kB / 499.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.4227, allocations: 1.014 MB / 0.4888 GB, free: 14.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.4227, allocations: 26.89 kB / 0.4888 GB, free: 14.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.4229, allocations: 229.4 kB / 0.489 GB, free: 14.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.4229, allocations: 21.95 kB / 0.489 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.423, allocations: 33.58 kB / 0.4891 GB, free: 14.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4231, allocations: 364.3 kB / 0.4894 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.298e-05/0.4232, allocations: 31.75 kB / 0.4894 GB, free: 14.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.051e-05/0.4233, allocations: 56.75 kB / 0.4895 GB, free: 14.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.4234, allocations: 87.86 kB / 0.4896 GB, free: 14.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4234, allocations: 0 / 0.4896 GB, free: 14.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002998/0.4238, allocations: 168.5 kB / 0.4897 GB, free: 14.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4238, allocations: 5.484 kB / 0.4897 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.4238, allocations: 1.438 kB / 0.4897 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.4238, allocations: 1.531 kB / 0.4897 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.424, allocations: 24.66 kB / 0.4898 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.424, allocations: 6.797 kB / 0.4898 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-05/0.4241, allocations: 22.28 kB / 0.4898 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.4241, allocations: 3.562 kB / 0.4898 GB, free: 14.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002052/0.4243, allocations: 235.8 kB / 0.49 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.4244, allocations: 49.34 kB / 0.4901 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.807e-05/0.4245, allocations: 57.56 kB / 0.4901 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4245, allocations: 1.375 kB / 0.4901 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4245, allocations: 5.375 kB / 0.4901 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4245, allocations: 0 / 0.4901 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.4249, allocations: 334.5 kB / 0.4905 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4249, allocations: 1.984 kB / 0.4905 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.4249, allocations: 11.81 kB / 0.4905 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4249, allocations: 0 / 0.4905 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.4249, allocations: 8.156 kB / 0.4905 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.4249, allocations: 2.031 kB / 0.4905 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.425, allocations: 0 / 0.4905 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.4253, allocations: 197.4 kB / 0.4907 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.4254, allocations: 136.3 kB / 0.4908 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.4255, allocations: 7.688 kB / 0.4908 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.4256, allocations: 12.61 kB / 0.4908 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.4257, allocations: 7.453 kB / 0.4908 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.4257, allocations: 6.812 kB / 0.4908 GB, free: 13.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009111/0.4266, allocations: 0.7484 MB / 0.4916 GB, free: 13.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4266, allocations: 0 / 0.4916 GB, free: 13.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.4269, allocations: 42.03 kB / 0.4916 GB, free: 13.07 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001033/0.428, allocations: 429.5 kB / 0.492 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.4283, allocations: 85.28 kB / 0.4921 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4283, allocations: 0 / 0.4921 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.4284, allocations: 39.42 kB / 0.4921 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.4289, allocations: 77.06 kB / 0.4922 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.4302, allocations: 0.8437 MB / 0.493 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.4305, allocations: 0.838 MB / 0.4938 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.4307, allocations: 54.55 kB / 0.4939 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.4307, allocations: 32.66 kB / 0.4939 GB, free: 11.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4307, allocations: 0 / 0.4939 GB, free: 11.55 MB / 382.1 MB Notification: Performance of Templates: time 0.00838/0.4391, allocations: 3.697 MB / 0.4975 GB, free: 9.988 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)