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.007538/0.007538, allocations: 103.3 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.001314/0.001314, allocations: 191 kB / 16.67 MB, free: 5.961 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.746/1.746, 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.4937/0.4937, allocations: 39.95 MB / 309.8 MB, free: 9.426 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.001937/0.001937, allocations: 80.38 kB / 435.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4861/0.488, allocations: 56.87 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003918/0.492, allocations: 1.787 MB / 494.5 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.4936, allocations: 0.8787 MB / 495.4 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.4937, allocations: 1.375 kB / 495.4 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008385/0.4946, allocations: 298.7 kB / 495.7 MB, free: 17.55 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.0005474/0.4951, allocations: 204.5 kB / 495.9 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.4956, allocations: 139.2 kB / 496 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.4961, allocations: 241.2 kB / 496.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.4962, allocations: 17.92 kB / 496.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.4965, allocations: 131.3 kB / 496.4 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.4968, allocations: 191.4 kB / 496.6 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.4969, allocations: 5.875 kB / 496.6 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.497, allocations: 44.44 kB / 496.6 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.4972, allocations: 129.1 kB / 496.7 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.4974, allocations: 146.3 kB / 496.9 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.498, allocations: 357.9 kB / 497.2 MB, free: 16.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.498, allocations: 1.156 kB / 497.2 MB, free: 16.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.498, allocations: 0 / 497.2 MB, free: 16.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.498, allocations: 0 / 497.2 MB, free: 16.94 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.001278/0.4993, allocations: 0.7189 MB / 498 MB, free: 16.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.4994, allocations: 14.77 kB / 498 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.4995, allocations: 45.88 kB / 498 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007612/0.5003, allocations: 444.6 kB / 498.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.5003, allocations: 2.781 kB / 498.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.5003, allocations: 6.953 kB / 498.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.5006, allocations: 86.48 kB / 498.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5006, allocations: 1.062 kB / 498.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.5006, allocations: 2.047 kB / 498.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.5006, allocations: 0 / 498.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.5008, allocations: 35.5 kB / 498.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.5013, allocations: 368.4 kB / 498.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.5016, allocations: 109.9 kB / 499.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.5017, allocations: 43.06 kB / 499.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.5018, allocations: 5.109 kB / 499.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.502, allocations: 113.2 kB / 499.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.966e-06/0.502, allocations: 3.984 kB / 499.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005012/0.5025, allocations: 194.2 kB / 499.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.5026, allocations: 82.83 kB / 499.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.504, allocations: 1.012 MB / 0.4888 GB, free: 14.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.504, allocations: 31.08 kB / 0.4888 GB, free: 14.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.5042, allocations: 231.7 kB / 0.489 GB, free: 14.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.5043, allocations: 23.39 kB / 0.489 GB, free: 14.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.5043, allocations: 36.3 kB / 0.4891 GB, free: 14.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5045, allocations: 364.9 kB / 0.4894 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.5045, allocations: 26.52 kB / 0.4894 GB, free: 14.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-05/0.5046, allocations: 60.09 kB / 0.4895 GB, free: 14.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.5048, allocations: 89.28 kB / 0.4896 GB, free: 14.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5048, allocations: 1.312 kB / 0.4896 GB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003094/0.5051, allocations: 163.2 kB / 0.4897 GB, free: 14.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5052, allocations: 5.75 kB / 0.4898 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.5052, allocations: 1.781 kB / 0.4898 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.5052, allocations: 5.344 kB / 0.4898 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.5054, allocations: 24.56 kB / 0.4898 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.5054, allocations: 1.844 kB / 0.4898 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.5055, allocations: 23.31 kB / 0.4898 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.5056, allocations: 4.094 kB / 0.4898 GB, free: 14.11 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.0002734/0.5058, allocations: 217.1 kB / 0.49 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.5059, allocations: 49.86 kB / 0.4901 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.506, allocations: 60.77 kB / 0.4901 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5061, allocations: 9.312 kB / 0.4901 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.5061, allocations: 2.922 kB / 0.4901 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5061, allocations: 0 / 0.4901 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.5065, allocations: 339.6 kB / 0.4905 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5065, allocations: 1.375 kB / 0.4905 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.5066, allocations: 6.531 kB / 0.4905 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5066, allocations: 2.406 kB / 0.4905 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.5066, allocations: 7.734 kB / 0.4905 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5066, allocations: 0 / 0.4905 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5066, allocations: 1.375 kB / 0.4905 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.507, allocations: 201.6 kB / 0.4907 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.5072, allocations: 136.9 kB / 0.4908 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.5072, allocations: 3.359 kB / 0.4908 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.5073, allocations: 8.859 kB / 0.4908 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.5074, allocations: 6.75 kB / 0.4908 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.5074, allocations: 6.375 kB / 0.4908 GB, free: 13.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001005/0.5084, allocations: 0.7539 MB / 0.4916 GB, free: 13.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5084, allocations: 0 / 0.4916 GB, free: 13.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.5087, allocations: 41.16 kB / 0.4916 GB, free: 13.13 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.001077/0.5098, allocations: 435.1 kB / 0.492 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.5101, allocations: 77.33 kB / 0.4921 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5101, allocations: 0 / 0.4921 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.5103, allocations: 43.83 kB / 0.4921 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.5108, allocations: 80.83 kB / 0.4922 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.5124, allocations: 0.8445 MB / 0.493 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.5131, allocations: 0.8331 MB / 0.4938 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002054/0.5133, allocations: 58.86 kB / 0.4939 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.5134, allocations: 32.86 kB / 0.4939 GB, free: 11.61 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5135, allocations: 0 / 0.4939 GB, free: 11.61 MB / 382.1 MB Notification: Performance of Templates: time 0.01288/0.5263, allocations: 3.781 MB / 0.4976 GB, free: 10 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)