Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009746/0.009746, allocations: 100.9 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.001399/0.001399, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.627/1.627, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3921/0.3921, allocations: 39.94 MB / 309.8 MB, free: 9.383 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.001503/0.001503, allocations: 75.89 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.4822, allocations: 56.87 MB / 492.7 MB, free: 19.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.004704/0.4869, allocations: 1.694 MB / 494.4 MB, free: 18.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.4886, allocations: 0.803 MB / 495.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.4889, allocations: 1.219 kB / 495.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.4894, allocations: 42.05 kB / 495.3 MB, free: 17.96 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.0004777/0.4899, allocations: 55.02 kB / 495.3 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.4904, allocations: 84.69 kB / 495.4 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.4908, allocations: 94.17 kB / 495.5 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.491, allocations: 16.05 kB / 495.5 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.4912, allocations: 45.86 kB / 495.5 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.4913, allocations: 26.53 kB / 495.6 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.4913, allocations: 2.75 kB / 495.6 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.4916, allocations: 50.58 kB / 495.6 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.4917, allocations: 24.16 kB / 495.7 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.724e-05/0.4918, allocations: 37.05 kB / 495.7 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003969/0.4922, allocations: 113.1 kB / 495.8 MB, free: 17.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.4922, allocations: 4.656 kB / 495.8 MB, free: 17.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4922, allocations: 0 / 495.8 MB, free: 17.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.4922, allocations: 0 / 495.8 MB, free: 17.69 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.0007071/0.4929, allocations: 423.4 kB / 496.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.493, allocations: 13.11 kB / 496.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.143e-05/0.4931, allocations: 10.53 kB / 496.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.4935, allocations: 210.7 kB / 496.4 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4935, allocations: 1.875 kB / 496.4 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.4935, allocations: 15.56 kB / 496.5 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.4937, allocations: 49.81 kB / 496.5 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.4938, allocations: 0 / 496.5 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.4938, allocations: 5.953 kB / 496.5 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.4938, allocations: 0 / 496.5 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.944e-05/0.4939, allocations: 18.83 kB / 496.5 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.4944, allocations: 291.5 kB / 496.8 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.4946, allocations: 64.12 kB / 496.9 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.4947, allocations: 20.58 kB / 496.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.4947, allocations: 1.188 kB / 496.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.4949, allocations: 70.34 kB / 497 MB, free: 16.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.4949, allocations: 0 / 497 MB, free: 16.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006251/0.4955, allocations: 172.1 kB / 497.1 MB, free: 16.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.4956, allocations: 57.78 kB / 497.2 MB, free: 16.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.4958, allocations: 197.9 kB / 497.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.4958, allocations: 28.42 kB / 497.4 MB, free: 16.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.4959, allocations: 106.1 kB / 497.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.4959, allocations: 18.02 kB / 497.5 MB, free: 16.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.496, allocations: 27.48 kB / 497.6 MB, free: 16.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.4961, allocations: 326.3 kB / 497.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.4962, allocations: 25.5 kB / 497.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.984e-05/0.4962, allocations: 34.78 kB / 497.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.4964, allocations: 61.78 kB / 498 MB, free: 15.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4964, allocations: 1.312 kB / 498 MB, free: 15.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002039/0.4966, allocations: 104.6 kB / 498.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.4966, allocations: 5.594 kB / 498.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4967, allocations: 7.969 kB / 498.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4967, allocations: 2.094 kB / 498.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.4968, allocations: 19.47 kB / 498.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4968, allocations: 0.9375 kB / 498.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.4969, allocations: 8.141 kB / 498.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4969, allocations: 6.469 kB / 498.2 MB, free: 15.66 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 9.795e-05/0.497, allocations: 121.6 kB / 498.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.497, allocations: 10.69 kB / 498.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.4971, allocations: 19.58 kB / 498.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4971, allocations: 1.062 kB / 498.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.4971, allocations: 1.031 kB / 498.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.4971, allocations: 4.641 kB / 498.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.4977, allocations: 394.4 kB / 498.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4977, allocations: 1.406 kB / 498.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.4977, allocations: 9.031 kB / 498.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4977, allocations: 1.094 kB / 498.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.4977, allocations: 5.734 kB / 498.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4978, allocations: 5.922 kB / 498.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4978, allocations: 5.25 kB / 498.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.498, allocations: 200.2 kB / 498.9 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.4981, allocations: 89.12 kB / 499 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.4981, allocations: 10.52 kB / 499 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.4982, allocations: 3.656 kB / 499 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.4983, allocations: 10.09 kB / 499 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.4983, allocations: 3.422 kB / 499 MB, free: 14.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.4984, allocations: 150.9 kB / 499.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4984, allocations: 1.312 kB / 499.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.4988, allocations: 22.08 kB / 499.2 MB, free: 14.79 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.001261/0.5, allocations: 488.3 kB / 499.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.5003, allocations: 56.77 kB / 499.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5003, allocations: 0 / 499.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.77e-05/0.5004, allocations: 36.59 kB / 499.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.5008, allocations: 26.72 kB / 499.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.5014, allocations: 233 kB / 0.4883 GB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.5016, allocations: 0.7032 MB / 0.489 GB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.481e-05/0.5016, allocations: 16.64 kB / 0.489 GB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.5017, allocations: 16.86 kB / 0.489 GB, free: 13.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5017, allocations: 4 kB / 0.489 GB, free: 13.48 MB / 382.1 MB Notification: Performance of Templates: time 0.00611/0.5078, allocations: 1.735 MB / 0.4907 GB, free: 13.27 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)