Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006192/0.006193, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001357/0.001357, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.494/1.494, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.356/0.356, allocations: 39.94 MB / 309.8 MB, free: 9.461 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.001485/0.001485, allocations: 75.89 kB / 435.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3959, allocations: 56.87 MB / 492.7 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003661/0.3996, allocations: 1.844 MB / 494.6 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.4016, allocations: 0.895 MB / 495.5 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.4017, allocations: 1.531 kB / 495.5 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005626/0.4023, allocations: 162 kB / 495.6 MB, free: 17.61 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.00039/0.4027, allocations: 139.4 kB / 495.8 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.4032, allocations: 146 kB / 495.9 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.4036, allocations: 214.7 kB / 496.1 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.4037, allocations: 22.11 kB / 496.1 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.4039, allocations: 112.6 kB / 496.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.4041, allocations: 119.6 kB / 496.4 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.4042, allocations: 6.906 kB / 496.4 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.4043, allocations: 51.02 kB / 496.4 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.4044, allocations: 45.16 kB / 496.5 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.921e-05/0.4045, allocations: 71.69 kB / 496.5 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.4049, allocations: 199.7 kB / 496.7 MB, free: 17.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4049, allocations: 0.6562 kB / 496.7 MB, free: 17.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.4049, allocations: 0 / 496.7 MB, free: 17.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.4049, allocations: 5.375 kB / 496.7 MB, free: 17.12 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007916/0.4057, allocations: 0.5131 MB / 497.2 MB, free: 16.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.4058, allocations: 12.61 kB / 497.3 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.4059, allocations: 23.61 kB / 497.3 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.4062, allocations: 263 kB / 497.5 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.4063, allocations: 6.969 kB / 497.5 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.4063, allocations: 13.08 kB / 497.6 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.4066, allocations: 98.38 kB / 497.6 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.4066, allocations: 1.312 kB / 497.6 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.4066, allocations: 4.516 kB / 497.7 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4067, allocations: 1.469 kB / 497.7 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.4068, allocations: 40.89 kB / 497.7 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.4074, allocations: 445 kB / 498.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.4077, allocations: 117 kB / 498.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.4078, allocations: 39.45 kB / 498.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.4078, allocations: 5.344 kB / 498.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.4081, allocations: 112.6 kB / 498.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.424e-06/0.4081, allocations: 0 / 498.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009876/0.4091, allocations: 359.4 kB / 498.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.4092, allocations: 91.12 kB / 498.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.4096, allocations: 354.2 kB / 499.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.4097, allocations: 32.58 kB / 499.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.4098, allocations: 138.3 kB / 499.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.4098, allocations: 46.67 kB / 499.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.4099, allocations: 37.36 kB / 499.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.41, allocations: 339.2 kB / 499.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.4101, allocations: 42.61 kB / 499.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.4103, allocations: 73.3 kB / 499.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.4105, allocations: 122.8 kB / 500 MB, free: 14.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4105, allocations: 1.188 kB / 500 MB, free: 14.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003499/0.4109, allocations: 175.5 kB / 0.4884 GB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4109, allocations: 6.188 kB / 0.4885 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4109, allocations: 1.312 kB / 0.4885 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.411, allocations: 5.922 kB / 0.4885 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.4111, allocations: 34.64 kB / 0.4885 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.4111, allocations: 6.078 kB / 0.4885 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.929e-05/0.4112, allocations: 9.781 kB / 0.4885 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.4113, allocations: 5.141 kB / 0.4885 GB, free: 14.48 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001293/0.4114, allocations: 155.5 kB / 0.4887 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.4114, allocations: 28.34 kB / 0.4887 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.919e-05/0.4115, allocations: 28.05 kB / 0.4887 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.4115, allocations: 6.438 kB / 0.4887 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.4116, allocations: 5.219 kB / 0.4887 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4116, allocations: 1.172 kB / 0.4887 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007839/0.4124, allocations: 0.6152 MB / 0.4893 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4124, allocations: 1.062 kB / 0.4893 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/0.4124, allocations: 17.02 kB / 0.4893 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4125, allocations: 2.281 kB / 0.4893 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.4125, allocations: 8.328 kB / 0.4894 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4125, allocations: 2.344 kB / 0.4894 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4125, allocations: 1.094 kB / 0.4894 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.4129, allocations: 371.2 kB / 0.4897 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.4129, allocations: 96.11 kB / 0.4898 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.413, allocations: 7.531 kB / 0.4898 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.4131, allocations: 10.7 kB / 0.4898 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.4132, allocations: 10.2 kB / 0.4898 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.4132, allocations: 12.28 kB / 0.4898 GB, free: 13.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.4135, allocations: 263.5 kB / 0.4901 GB, free: 13.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4135, allocations: 1.781 kB / 0.4901 GB, free: 13.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.4138, allocations: 42.34 kB / 0.4901 GB, free: 13.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001141/0.415, allocations: 484.3 kB / 0.4906 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003526/0.4153, allocations: 116.7 kB / 0.4907 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4154, allocations: 0 / 0.4907 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.4155, allocations: 60.2 kB / 0.4908 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.4161, allocations: 62.45 kB / 0.4908 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007955/0.4169, allocations: 437.3 kB / 0.4912 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.4172, allocations: 0.7466 MB / 0.492 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.4173, allocations: 34.73 kB / 0.492 GB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.4173, allocations: 29.34 kB / 0.492 GB, free: 11.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4173, allocations: 1.75 kB / 0.492 GB, free: 11.82 MB / 382.1 MB Notification: Performance of Templates: time 0.008206/0.4256, allocations: 2.69 MB / 0.4947 GB, free: 11.11 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1)